Fastlane Gym Xcode Build Linker并不知道如何转换分支机构'紧急

时间:2017-10-30 01:32:24

标签: c++ ios xcode fastlane fastlane-gym

使用最新的Fastlane版本以及Xcode 8.3.3和Xcode 9.0.1构建iOS的C ++ Game项目时,我们面临链接器错误/崩溃。

Fastlane健身房电话:

fastlane gym --scheme "TowerDuel-mobile-Release-Distribution-Live-Beta" --export_method "app-store" --configuration "DistributionLiveBeta" 

日志:

**▸ Compiling BackButtonReceiver.cpp
▸ Compiling FirebaseTestLayer.cpp
▸ Linking TowerDuel-mobile

❌  ld: don't know how to convert branch instruction f1bd87d4 referencing __ZdlPv.island to bx in '__GLOBAL__sub_I_OnEventHeal.cpp' from /Users/Max/Library/Developer/Xcode/DerivedData/TowerDuel-dsejjkbvgengpngaqrfokeoaquvx/Build/Intermediates.noindex/ArchiveIntermediates/TowerDuel-mobile-Release-Distribution-Live-Beta/IntermediateBuildFilesPath/TowerDuel.build/DistributionLiveBeta-iphoneos/TowerDuel-mobile.build/Objects-normal/armv7/TowerDuel-mobile_lto.o for architecture armv7



❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)


▸ Linking TowerDuel-mobile
** ARCHIVE FAILED **


The following build commands failed:
Ld /Users/Max/Library/Developer/Xcode/DerivedData/TowerDuel-dsejjkbvgengpngaqrfokeoaquvx/Build/Intermediates.noindex/ArchiveIntermediates/TowerDuel-mobile-Release-Distribution-Live-Beta/IntermediateBuildFilesPath/TowerDuel.build/DistributionLiveBeta-iphoneos/TowerDuel-mobile.build/Objects-normal/armv7/TowerDuel-mobile normal armv7
(1 failure)
[02:10:38]: Exit status: 65
[02:10:38]: 
[02:10:38]: Maybe the error shown is caused by using the wrong version of Xcode
[02:10:38]: Found multiple versions of Xcode in '/Applications/'
[02:10:38]: Make sure you selected the right version for your project
[02:10:38]: This build process was executed using '/Applications/Xcode.app'
[02:10:38]: If you want to update your Xcode path, either
[02:10:38]: 
[02:10:38]: - Specify the Xcode version in your Fastfile
[02:10:38]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[02:10:38]: 
[02:10:38]: - Specify an absolute path to your Xcode installation in your Fastfile
[02:10:38]: ▸ xcode_select "/Applications/Xcode8.app"
[02:10:38]: 
[02:10:38]: - Manually update the path using
[02:10:38]: ▸ sudo xcode-select -s /Applications/Xcode.app
[02:10:38]: 
**

0 个答案:

没有答案