Cannot archive parent iPhone app with Bitcode disabled
Originator: | contact | ||
Number: | rdar://22066229 | Date Originated: | 30/07/2015 |
Status: | Duplicate of 22007571 | Resolved: | |
Product: | watchOS | Product Version: | 2 |
Classification: | Serious Bug | Reproducible: | Always |
Summary: When the parent (iPhone) app has Bitcode disabled, it becomes impossible to archive the app for production distribution. (in our case, we have MANY 3rd-party dependencies which don't yet support Bitcode and probably won't for a long time so we need to disable it for now). As you can't disable Bitcode in watchOS 2, this completely blocks an iPhone app with a bundled watchOS 2 app from being able to archive (and thus deploy to the App Store) if the parent has BitCode disabled. Steps to Reproduce: 1. Assume a iPhone project with a watchOS 2 app target, and the necessary provisioning setup (in our case these are Enterprise signed profiles, unsure if that matters at present) 2. Set Bitcode Enabled to "NO" in the iPhone app target settings 3. Attempt to archive the app Expected Results: App should be archived with valid provisioning and able to be distributed. Actual Results: The app fails to archive with the following error: 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. Embedded Binary Signing Certificate: Not Code Signed Parent App Signing Certificate: iPhone Distribution: <signing certificate goes here> Version: watchOS 2 (beta 4) Notes: This exact issue has also been reported by others on the Apple Developer Forums: https://forums.developer.apple.com/thread/10392 Configuration: Xcode 7 (beta 4), Yosemite 10.10.4 (this is presumably still happening on El Capitan however) Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
This has been marked as a duplicate of rdar://22007571 (currently Open at time of writing)