hooks/lib/ios/projectEntitlements.js
function pathToEntitlementsFile() {
  if (entitlementsFilePath === undefined) {
    entitlementsFilePath = path.join(getProjectRoot(), 'platforms', 'ios', getProjectName(), 'Resources', getProjectName() + '.entitlements');
  }

  return entitlementsFilePath;
}
function pathToEntitlementsFile() {
  if (entitlementsFilePath === undefined) {
    entitlementsFilePath = path.join(getProjectRoot(), 'platforms', 'ios', getProjectName(), 'Resources', getProjectName() + '.entitlements');
  }

  return entitlementsFilePath;
}
function pathToEntitlementsFile ( ) { if ( entitlementsFilePath === undefined ) { entitlementsFilePath = path . join ( getProjectRoot ( ) , 'platforms' , 'ios' , getProjectName ( ) , 'Resources' , getProjectName ( ) + '.entitlements' ) ; } return entitlementsFilePath ; }
region Path helper methods 
Path to entitlements file.

@return {String} absolute path to entitlements file
region Path helper methods Path to entitlements file .