ITMS-90668

I was using Shenzhen automatically submit build to testflight everyday. The codebase and CI job works fine.


Today I went to this issue, several framework of my cocoapod library reporting incomplete bitcode.


I search a while, no any information found.


Someone give me a clue where to resolve this issue?


The session's status is FAILED and the error description is 'failed to open ssh session. (16)' 11:41:00 ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'Glip.app/Frameworks/Analytics.framework/Analytics' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."

I had the same problem, I found a solution in my case.

Check here http://stackoverflow.com/questions/37493049/itms-90668-invalid-bundle-executable-the-executable-file-contains-incomplete/37513680#37513680

That's all well and good if you're uploading iOS, but tvOS apps require bitcode. I'm having the same issue when I use Cocoapods and a custom tvOS framework. Frameworks are getting flagged as incomplete bitcode by ITunesTransporter, but xcodebuild doesn't seem to respect ENABLE_BITCODE in tvOS frameworks. i.e. my Xcode Build settings treat ENABLE_BITCODE as a user defined setting when I add it to my frameworks using a script. There doesn't appear to be anything I can do?

Also, running this on the frameworks ITunesTransporter claims are incomplete yields segname __LLVM

otool -l <framework binary> | grep __LLVM

Ok, I've spent long enough on this problem today, @davehenke have you figured out any solution at all? - hacks welcome.


I'm moments away from ditching my framework and moving the code into my main project :-(


I'm still getting these errors:


ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'MyApp.app/Frameworks/MyAppFramework.framework/MyAppFramework' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."


ERROR ITMS-90635: "Invalid Mach-O Format. The Mach-O in bundle "MyApp.app/Frameworks/MyAppFramework.framework" isn’t consistent with the Mach-O in the main bundle. The main bundle Mach-O contains arm64(bitcode and machine code), while the nested bundle Mach-O contains arm64(machine code). Verify that all of the targets for a platform have a consistent value for the ENABLE_BITCODE build setting."

I don't know if this was a glitch, but a moment ago, I got no errors. I changed my workspace so instead of having this format:


MyApp
MyAppFramework


I dragged MyAppFramework under MyApp so:


MyApp

---- MyAppFramework


I'm hoping it's not a one-off.

ITMS-90668
 
 
Q