You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/01/11 07:40:55 UTC

[GitHub] dpogue commented on issue #494: Fixes $(PRODUCT_BUNDLE_IDENTIFIER) not being resolved for a product archive

dpogue commented on issue #494: Fixes $(PRODUCT_BUNDLE_IDENTIFIER) not being resolved for a product archive
URL: https://github.com/apache/cordova-ios/pull/494#issuecomment-453411879
 
 
   > I'll leave this PR open in case I figure how to do it from code (using node-xcode).
   
   This should work...
   
   ```diff
   # line 209
    if (buildOpts.provisioningProfile && bundleIdentifier) {
        exportOptions.provisioningProfiles = { [ bundleIdentifier ]: String(buildOpts.provisioningProfile) };
        exportOptions.signingStyle = 'manual';
   
   +    events.emit('verbose', 'Set CODE_SIGN_STYLE to Manual.');
   +    project.xcode.updateBuildProperty('CODE_SIGN_STYLE', 'Manual');
   +    project.xcode.addTargetAttribute('ProvisioningStyle', 'Manual');
   +
   +    fs.writeFileSync(locations.pbxproj, project.xcode.writeSync(), 'utf-8');
    }
   ```

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