In my tvOS application, verification after loading into iTunesConnect for TestFlight distributions is not performed.
Verification failed with the following message:
Invalid executable - MyApp.app/Frameworks/Alamofire.framework/Alamofire 'executable does not contain a bitcode.
My Cartfile: github "Alamofire/Alamofire" "tvOS" .
I am using Xcode version 7.1. I do not see ENABLE_BITCODE for my tvOS target. (I assume that bitcode is enabled for my purpose, as it is mandatory for tvOS). In addition, BITCODE_GENERATION_MODE set in bitcode for the tvOS Alamofire branch.
otool -l Carthage/Build/tvOS/Alamofire.framework/Alamofire | grep LLVM otool -l Carthage/Build/tvOS/Alamofire.framework/Alamofire | grep LLVM returns nothing. So it seems like I'm missing bit code support.
Everything works fine on a simulator and on a real device.
How do I create a supported bitcode version of the Alamofire framework using Carthage so that it passes Apple-side validation?
xcode tvos bitcode alamofire carthage
Chris
source share