Post

Replies

Boosts

Views

Activity

Reply to xcodebuild export archive fails with cryptic exception
The bug was introduced in our project because one of our dependencies is not ready to use bitcode. Disabling bitcode on Xcode was solving the issue, but using the xcodebuild command was not, because we tried using an export options plist file generated by Fastlane, which seems to be defective. Be sure to disable bitcode when exporting your archived build. If you're using xcodebuild ensure your export options plist includes the following entry: <key>compileBitcode</key> <false/> If you're using Fastlane, the include_bitcode: false argument seems to have no effect in the final export options plist generated by Fastlane. Instead use the following argument on gym/build_ios_app: export_options: { compileBitcode: false, } Please refer to this issue in the Fastlane repository, if necessary: https://github.com/fastlane/fastlane/issues/19550
Nov ’21