You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gi...@git.apache.org on 2017/10/04 01:11:58 UTC

[GitHub] jrryhrtn commented on issue #338: support for creating Xcode9 style exportOptions.plist

jrryhrtn commented on issue #338: support for creating Xcode9 style exportOptions.plist 
URL: https://github.com/apache/cordova-ios/pull/338#issuecomment-334023308
 
 
    "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\""
               ]
           }
       },
   
       "release": {
           "codeSignIdentitiy": "iPhone Distribution",
           "developmentTeam":"XXXXX",
           "provisioningProfile": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
           "packageType": "ad-hoc",
           "iCloudContainerEnvironment": "Production",
   
          "buildFlag": [
                   "EMBEDDED_CONTENT_CONTAINS_SWIFT = YES",
                   "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO",
                   "LD_RUNPATH_SEARCH_PATHS = \"@executable_path/Frameworks\""
               ]
   
   }
   
   
   My only guess is that you are building for --device and then by
   default it is using the "release" section, which you do not seem to
   have fined.
   
   
   On Tue, Oct 3, 2017 at 1:44 AM, Mark Veenstra <no...@github.com>
   wrote:
   
   > @surajpindoria <https://github.com/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?
   >
   > ?
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/cordova-ios/pull/338#issuecomment-333754433>,
   > or mute the thread
   > <https://github.com/notifications/unsubscribe-auth/AFasb6KgEAIoteBHFg8Pn16sOP15tX63ks5sodfOgaJpZM4PhabP>
   > .
   >
   
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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