Unity 3D iOS构建Bitcode问题

时间:2016-12-02 08:56:59

标签: ios xcode unity3d build admob

我想在我的iOS项目中启用bitcode一切正常但每当我启用bitcode并尝试存档项目时我得到CLang错误。我正在使用谷歌Admob框架7.15.0,它支持bitcode,unity 5.4.1f1和xCode 7.2。我试图解决这个问题几天没有运气任何帮助赞赏。

感谢

以下是我得到的错误

  

Ld的   /Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/Mushroom.app/Mushroom   正常的armv7       cd / Users / zeeshanullah / Desktop / Unity / Publish       export IPHONEOS_DEPLOYMENT_TARGET = 7.0       export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / local /箱:在/ usr / bin中:/ bin中:/ usr / sbin目录:/ sbin目录"       /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++   -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk   -L /用户/ zeeshanullah /库/开发商/ Xcode中/ DerivedData /团结-iPhone-fefeolxmzaribigaxtqjdkorlsiv /编译/中间体/ ArchiveIntermediates /团结-iPhone / BuildProductsPath /释放-的iPhoneOS   -L / Users / zeeshanullah / Desktop / Unity / Publish -L / Users / zeeshanullah / Desktop / Unity / Publish / Libraries -F / Users / zeeshanullah / Library / Developer / Xcode / DerivedData / Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv / Build / Intermediates / ArchiveIntermediates /团结-iPhone / BuildProductsPath /释放-的iPhoneOS   -F / Users / zeeshanullah / Desktop / Unity / Publish -filelist /Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build /Release-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Mushroom.LinkFileList   -Xlinker -map -Xlinker /Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone .build /蘑菇LinkMap正常-armv7.txt   -miphoneos-version-min = 7.0 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker / Users / zeeshanullah / Library / Developer / Xcode / DerivedData / Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv / Build / Intermediates / ArchiveIntermediates /团结-iPhone / BuildProductsPath /释放-的iPhoneOS   -weak_framework CoreMotion -weak-lSystem -ObjC -stdlib = libc ++ -fobjc-arc -fobjc-link-runtime -liPhone-lib -framework CoreText -framework GoogleMobileAds -framework AudioToolbox -weak_framework AVFoundation -framework CFNetwork -framework CoreGraphics -framework   CoreLocation -framework CoreMedia -weak_framework CoreMotion   -framework CoreVideo -framework Foundation -weak_framework iAd -framework MediaPlayer -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -Xlinker -dependency_info -Xlinker / Users / zeeshanullah / Library / Developer / Xcode / DerivedData /团结-iPhone-fefeolxmzaribigaxtqjdkorlsiv /编译/中间体/ ArchiveIntermediates /团结-iPhone / IntermediateBuildFilesPath / Unity-iPhone.build /释放-的iPhoneOS / Unity-iPhone.build /目标正常/的ARMv7 / Mushroom_dependency_info.dat   -o /Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/Mushroom.app/Mushroom

     

clang:错误:无法执行命令:分段错误:11 clang:   错误:链接器命令因信号而失败(使用-v查看调用)

1 个答案:

答案 0 :(得分:0)

我已将xcode从7.2更新到最新版本8.2,它解决了bitcode问题。