ollm commented on pull request #956:
URL: https://github.com/apache/cordova-ios/pull/956#issuecomment-938863234


   I can confirm that @HarelM solution works, I would appreciate if the pull 
request it's merged.
   
   Also the `build.json` documentation should be updated: 
https://cordova.apache.org/docs/en/10.x/guide/platforms/ios/#using-buildjson
   
   Current usage in `build.json` (And it still works):
   
   ``` json
   {
       "ios": {
           "release": {
               "codeSignIdentity": "iPhone Distribution",
               "developmentTeam": "XXXXXXX",
               "packageType": "app-store",
               "provisioningProfile": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
               "iCloudContainerEnvironment": "Production",
               "buildFlag": [
                   "-UseModernBuildSystem=0",
                   "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                   "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                   "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
               ]
           }
       }
   } 
   ```
   Multiple profile usage in `build.json` whith @HarelM solution:
   
   ``` json
   {
       "ios": {
           "release": {
               "codeSignIdentity": "iPhone Distribution",
               "developmentTeam": "XXXXXXX",
               "packageType": "app-store",
               "provisioningProfile": {
                   "app.package.name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
                   "app.package.name.NotificationService": 
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
               },
               "iCloudContainerEnvironment": "Production",
               "buildFlag": [
                   "-UseModernBuildSystem=0",
                   "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                   "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                   "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
               ]
           }
       }
   } 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to