2016-12-02 93 views
0

我想在我的iOS项目中启用位码一切正常,但每当我启用位码并尝试归档项目时,我都会收到CLang错误。我使用的Google Admob框架7.15.0支持位代码,统一5.4.1f1和xCode 7.2。我试图解决这个问题几天没有运气,任何帮助表示赞赏。Unity 3D iOS Build Bit Issue

感谢

下面是我得到

Ld /Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/Mushroom.app/Mushroom normal 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/bin:/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/Users/zeeshanullah/Library/Developer/Xcode/DerivedData/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-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/Unity-iPhone/BuildProductsPath/Release-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/Mushroom-LinkMap-normal-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/Unity-iPhone/BuildProductsPath/Release-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/Unity-iPhone-fefeolxmzaribigaxtqjdkorlsiv/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/Unity-iPhone.build/Objects-normal/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: error: unable to execute command: Segmentation fault: 11 clang: error: linker command failed due to signal (use -v to see invocation)

+0

我也是初学者。但可能会帮助你点击[这里](http://stackoverflow.com/questions/30576693/ios-xcode-compile-error-unable-to-execute-command-segmentation-fault-11) – Victor

+0

我'已经添加了支持位代码的admob框架。 – Zeeshan

回答

0

我Xcode更新从7.2到8.2的最新版本的错误并解决问题位码。