gpt4 book ai didi

ios - AdMob 错误链接器命令失败,退出代码为 1(使用 -v 查看调用)

转载 作者:行者123 更新时间:2023-11-30 13:50:33 26 4
gpt4 key购买 nike

我已经在互联网上扫描了我的问题的所有可能的解决方案,但我一直无法找到答案。我尝试过清理并重新打开 xcode。它在模拟器上运行良好,但是当我在设备上运行它时出现以下错误:-

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)

最佳答案

错误告诉您必须启用或禁用 bitCode。

转到目标build设置并使用搜索栏搜索 bitCode。它很可能已打开,因此您应该将其关闭。比起干净的项目,你应该可以开始了。

关于ios - AdMob 错误链接器命令失败,退出代码为 1(使用 -v 查看调用),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34339571/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com