iPhone app archiving with watchos2 app embedded failure
| Originator: | yefu1986 | ||
| Number: | rdar://22188100 | Date Originated: | 08/07/2015 |
| Status: | Open | Resolved: | |
| Product: | Xcode Beta | Product Version: | 7 Beta 4 |
| Classification: | Reproducible: | YES |
Summary: Attempting to generate an archive file for an iPhone(iOS9) containing (OS2) app fails. [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: [My signing certificate] Expected Results: Archiving succeeded 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)
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!
[Updates 08/07/2015]
From the apple dev forum thread: https://forums.developer.apple.com/message/27105#27105, seems in Xcode 7 Beta 5 some developers can get the archiving done, but still have issues uploading the binary.
[Quotes] TangoChen Aug 7, 2015 8:27 AM (in response to andycam) With Xcode 7 Beta 5, now I can archive the app without getting "Not Code Signed" issue. But after uploading the app to App Store, I got a mail saying:
Dear developer, We have discovered one or more issues with your recent delivery for "[App Name]". To process your delivery, the following issues must be corrected: Invalid Executable - The executable '[MyApp].app/Watch/[MyApp].app/PlugIns/[MyApp] Extension.appex/[MyApp] Extension' does not contain bitcode.
My build options: Parent app Enable Bitcode: No Watch app Enable Bitcode: Yes