Hi,
We are building our app in xcode 10.3 using xcodebuild command line tool.
Currently our certificate got expired, so we created a new certificate which is issued from the new intermediate Apple Worldwide Developer Relations. When we try to build with the new certificate, we faced the following issue
error: Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.
So, as mentioned in the following documentation
https://developer.apple.com/support/wwdr-intermediate-certificate/
we tried to archive our build in xcode 10.3 and sign it using xcode 11.4.1.
Currently we are using the following commands to archive and export the app in xcode 10.3(Codesigning is happening in the end by default)
xcodebuild -scheme "test" -configuration $CONFIG clean archive -archivePath $ARCHIVE_PATH
xcodebuild -exportArchive -archivePath $ARCHIVE_PATH -exportOptionsPlist ExportOptions_config.plist -exportPath $BUILD_DIR
It would be helpful if I get some guidance in archiving in xcode 10.3 and signing in xcode 11.4.1
Thanks.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Xcode
Code Signing
Signing Certificates
Safari Extensions