You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/03/29 07:51:43 UTC

[GitHub] [cordova-ios] gasperinn commented on issue #536: Provisioning Profile not setup correctly with new build system

gasperinn commented on issue #536:
URL: https://github.com/apache/cordova-ios/issues/536#issuecomment-1081543803


   Don't know how relevant it is to you by now but i solved the problem by changing the build.json file like this (cordova-ios v6.2.0) when using cordova build ios :
   
   {
     "ios": {
       "debug": {
         "buildFlag": [
           "PROVISIONING_PROFILE_SPECIFIER=**_Ad_hoc_Provisioning_profile_name_**",
           "CODE_SIGN_STYLE=Manual"
         ],
         "codeSignIdentity": "iPhone Distribution",
         "developmentTeam": "**_XYZ_**",
         "packageType": "ad-hoc",
         "provisioningProfile": "**_Ad_hoc_Provisioning_profile_name_**"
       }
     }
   }
   
   The same works with release version. 
   
   - **PROVISIONING_PROFILE_SPECIFIER** specifies which PP should xcodebuild use by providing the PP name (not UUID). 
   - **CODE_SIGN_STYLE** has to be specified to "Manual", if not xcdebuild wants to use automatic signing and it throws an error. 
   - **provisioningProfile** should still be defined when using the flag --device 


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org