Xcode 10 beta 1-6: iOS 12 Archive fails to export due to Bitcode verification

Originator:spacepyro
Number:rdar://43425213 Date Originated:08/17/2018
Status:Open Resolved:
Product:Xcode Product Version:10, beta 1-6
Classification:Serious Bug Reproducible:Yes
 
When building, archiving, and exporting our project, an issue occurs with Bitcode failing to verify with libraries imported with Carthage. This did not exist in Xcode 9 or previous versions of Xcode, and seems limited only to Xcode 10 beta.

Steps to Reproduce:
1) Have an Xcode project that contains dependencies from Github. As an example, use Alamofire in the Carthage dependency manager. These frameworks may include Bitcode enabled in their project settings.
2) Attempt to archive and export the binary for use in either the App Store, Ad-Hoc, or Enterprise. You can use either Xcode or the xcodebuild CLI.
3) The build fails to be exported due to bitcode invalidation.

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!