2015-12-17 2 views
0

Я просмотрел интернет для всех возможных решений моей проблемы, но я не смог найти ответ. Я пробовал очистить и снова открыть xcode. Он отлично работает на тренажере, но я получаю следующее сообщение об ошибке, когда я запускаю его на устройстве: -Ошибка AdMob Ошибка в команде Linker с кодом выхода 1 (используйте -v для вызова вызова)

Ld /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter normal arm64 
     cd "/Users/krishwadhwana/Documents/Coding/My Development Main/Straight Lines" 
     export IPHONEOS_DEPLOYMENT_TARGET=8.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 arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -F/Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -F/Users/krishwadhwana/Documents/Coding/My\ Development\ Main/Straight\ Lines/SDKs/GoogleMobileAdsSdkiOS-7.6.0 -filelist /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/BuildProductsPath/Release-iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter.swiftmodule -framework SystemConfiguration -framework StoreKit -framework MessageUI -framework EventKit -framework EventKitUI -framework CoreTelephony -framework CoreGraphics -framework GoogleMobileAds -framework AVFoundation -framework AudioToolbox -framework AdSupport -Xlinker -dependency_info -Xlinker /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter_dependency_info.dat -o /Users/krishwadhwana/Library/Developer/Xcode/DerivedData/Tricenter-comzufishylbsifovkzysenwtyyh/Build/Intermediates/ArchiveIntermediates/Straight\ Lines/IntermediateBuildFilesPath/Tricenter.build/Release-iphoneos/Tricenter.build/Objects-normal/arm64/Tricenter 

    ld: '/Users/krishwadhwana/Documents/Coding/My Development Main/Straight Lines/SDKs/GoogleMobileAdsSdkiOS-7.6.0/GoogleMobileAds.framework/GoogleMobileAds(GADBannerView.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 
    clang: error: linker command failed with exit code 1 (use -v to see invocation) 

ответ

0

Как ошибка говорит вам, что вы должны включить или отключить битовый код.

Перейдите к настройкам построения целей и используйте панель поиска для поиска bitCode. Скорее всего, он включен, поэтому вы должны отключить его. Чем чистый проект, и вам должно быть хорошо идти.

+0

Nope. Ничего не изменил – jboi

+0

Биткод работает с SDK adMob, так как вы задали этот вопрос. Загрузите последнюю версию и снова включите бит-код. В противном случае попробуйте очистить вашу derrived папку в Xcode и очистить проект. – crashoverride777

Смежные вопросы

 Смежные вопросы