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: [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