mark-veenstra commented on issue #338: support for creating Xcode9 style 
exportOptions.plist 
URL: https://github.com/apache/cordova-ios/pull/338#issuecomment-333754433
 
 
   @surajpindoria I do have the latest ios platform version added through 
GitHub. If I manually check the file `platforms/ios/cordova/lib/build.js` in my 
project the line 100 matches the line in the `master` branch: 
https://github.com/apache/cordova-ios/blob/cf424b46fb37c00395c1ee9a249280efee5f65b5/bin/templates/scripts/cordova/lib/build.js#L100
   
   Also when I change [this 
line](https://github.com/apache/cordova-ios/blob/cf424b46fb37c00395c1ee9a249280efee5f65b5/bin/templates/scripts/cordova/lib/build.js#L93)
 to:
   
   ```
   events.emit('log', 'Reading build config file: ' + 
path.resolve(buildOpts.buildConfig));
   ```
   
   And I try to build the app with the following command: `cordova build ios 
--device --debug --verbose --buildConfig`. I can see in the verbose output that 
the correct JSON file is used.
   But still my build fails with the error:
   
   ```
   Code Signing Error: Provisioning profile "iOS Team Provisioning Profile: 
nl.XXX.loc.app" is Xcode managed, but signing settings require a manually 
managed profile.
   ```
   
   My `build.json` looks like this:
   
   ```
   {
       "ios": {
           "debug": {
               "codeSignIdentity": "iPhone Developer",
               "developmentTeam": "XXXXX",
               "packageType": "development",
               "provisioningProfile": "XXXX-XXX-XXX-XXX-XXXXXX",
               "iCloudContainerEnvironment": "Development",
               "buildFlag": [
                   "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                   "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                   "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
               ]
           }
       }
   }
   ```
   I am 100% sure the team id and the provisioning profile UUID is correct. Any 
ideas?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to