code: function getEntitlementFiles(preferences) {
      const files = [];
      const entitlements = path.join(
        preferences.projectRoot,
        "platforms",
        "ios",
        preferences.projectName,
        "Resources",
        `${preferences.projectName}.entitlements`
      );
      files.push(
        path.join(
          preferences.projectRoot,
          "platforms",
          "ios",
          preferences.projectName,
          `${preferences.projectName}.entitlements`
        )
      );
      files.push(entitlements);
  
      for (let i = 0; i < BUILD_TYPES.length; i++) {
        const buildType = BUILD_TYPES[i];
        const plist = path.join(
          preferences.projectRoot,
          "platforms",
          "ios",
          preferences.projectName,
          `Entitlements-${buildType}.plist`
        );
        files.push(plist);
      }
  
      return files;
    }
docs: get the xcode .entitlements and provisioning profile .plist