Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
- XCode 9
Description
When building with explicit signing the build fails because the signing information is missing from the exportOptions.plist.
A fix for this could be to update cordova-ios/bin/templates/scripts/cordova/lib/build.js with the following:
add:
var projectFile = require('./projectFile');
on line 29
add:
var self = this;
on line 58
add:
var project = projectFile.parse(self.locations); var pkgName = project.getPackageName(); if (pkgName && buildOpts.provisioningProfile) { exportOptions.provisioningProfiles = {[pkgName]: buildOpts.provisioningProfile}; exportOptions.signingStyle = 'manual'; } if (buildOpts.codeSignIdentity) { exportOptions.signingCertificate = buildOpts.codeSignIdentity; }
on line 141
Line numbers refer to commit 7ab03155c2e44c94a0a284f32192ad6f264a6c0e
Attachments
Issue Links
- links to