2016-12-02 3 views
0

Ich möchte Bitcode in meinem iOS-Projekt aktivieren alles funktioniert gut, aber immer wenn ich Bitcode aktivieren und versuchen, das Projekt zu archivieren, bekomme ich CLang Fehler. Ich benutze Google Admob Framework 7.15.0, das Bitcode, Unity 5.4.1f1 und xCode 7.2 unterstützt. Ich versuche, dieses Problem für Tage ohne Glück zu lösen, jede geschätzte Hilfe.Unity 3D iOS Build Bitcode Problem

dank

Unten ist der Fehler, den ich

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

ich bin Anfänger auch. aber möglicherweise wird es Ihnen helfen Klicken Sie [hier] (http://stackoverflow.com/questions/30576693/ios-xcode-compile-error-unable-to-execute-command-segmentions-fault-11) – Victor

+0

I ' admob Framework hinzugefügt, das Bitcode unterstützt. – Zeeshan

Antwort

0

ich von 7.2 auf die neueste Version 8.2 und es gelöst Bitcode Problem haben aktualisiert Xcode bin immer.