Xcode-beta (7A152u): Submitting Build to iTunes Connect without bitcode - contains Swift Bitcode.

Originator:rwgrier
Number:rdar://21889961 Date Originated:18-Jul-2015 09:06 PM
Status:Duplicate/21735673 Resolved:24-Jul-2015 02:41 PM
Product:Developer Tools Product Version:Xcode-beta (7A152u)
Classification:Serious Bug Reproducible:Always
 
Summary:
I recently had issues submitting beta app builds to TestFlight/iTunes Connect. Turning off Bitcode allowed me to submit the builds, but they got lost in an “Uploaded” state. After contacting the iTunes Connect support, my build was rejected saying that:

Invalid Executable - The executable 'MyCntdwn.app/Frameworks/libswiftCore.dylib' contains bitcode.

My app contains a mixture of Objc and Swift code. 

This is either an issue with iTunes Connect or Xcode. 

Steps to Reproduce:
- Archive build in Xcode 7 beta 3. 
- Press “Upload to App Store…” button in Xcode Organizer. 
- Chose my team
- Uncheck  “Include bitcode. Learn More”
- Click Submit
- Wait…

Expected Results:
Xcode should build a proper build without bitcode support. And iTunes Connect should know how to handle it.  

Actual Results:
Beta builds get stuck in limbo and contacting support results in the build being rejected. 

Notes:
This is very discouraging.

Comments

I was able to get around this by disabling bitcode in the project itself. But this is still a bug.

Not fixed in Xcode 7 beta 4

I just tried to submit an iOS 9 app with Xcode 7 beta 4 and got the same result:

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftCoreImage.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftDispatch.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftFoundation.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftCore.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftCoreAudio.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftWebKit.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftAVFoundation.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftDarwin.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftSecurity.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftCoreGraphics.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftCoreMedia.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftObjectiveC.dylib' contains bitcode.

Invalid Executable - The executable 'REDACTED.app/Frameworks/libswiftUIKit.dylib' contains bitcode.

By korhonen.matt at July 21, 2015, 9:22 p.m. (reply...)

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!