I want to change the bundle identifier to sign the IPA with another provisioning profile. I used the Step “Set iOS Info.plist - Bundle Identifier” and it does not work. I also tried to do it manually adding a “Script” step and executing:
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier com.mnm.BitriseTest" SpaceCells/Info.plist
Both Steps work without errors but when the step “Xcode Archive” is being executed it fails with this error:
=== BUILD TARGET SpaceCells OF PROJECT SpaceCells WITH CONFIGURATION Release === Check dependencies Provisioning profile "(DEV) Bitrise Test" has app ID "com.mnm.BitriseTest", which does not match the bundle ID "com.mnm.SpaceCells". Provisioning profile "(DEV) Bitrise Test" doesn't match the entitlements file's value for the application-identifier entitlement. Code signing is required for product type 'Application' in SDK 'iOS 10.3'
In the “Xcode Archive” step I have set all the values to force:
- ForceTeamID: 9797YGHF8 - ForceProvisioningProfileSpecifier: 9797YGHF8/(DEV) Bitrise Test - ForceProvisioningProfile: - ForceCodeSignIdentity: iPhone Developer: Mario Negro (YS9B5A4L4A) - CustomExportOptionsPlistContent:
I can’t find where the error is, and there is no more data I can gather to try to seek this error.