Tvos: iTunesConnect validation fix for Alamofire platform: does not contain bitcode

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?

+7
xcode tvos bitcode alamofire carthage
source share
1 answer

I think you represent the Framework using appletvsimulator in the project settings. Check out this link Carthage Problem

0
source share

All Articles