我也跟着AdMob的整合我的iOS應用程序的步驟,一切都很好,但我有一個致命錯誤(所以我想自己是不是OK)的AdMob適用於iOS錯誤:Llibrary找不到-lGoogleAdMobAds
這裏爲消息:
Ld /Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Products/Debug-iphonesimulator/Liga\ Zon\ Sagres\ Companion.app/Liga\ Zon\ Sagres\ Companion normal x86_64
cd "/Users/bertobettencourt/Desktop/LIVE RELEASES/Liga Zon Sagres (iOS)/1.30"
export IPHONEOS_DEPLOYMENT_TARGET=6.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -L/Users/bertobettencourt/Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Products/Debug-iphonesimulator -L/Users/bertobettencourt/Desktop/LIVE\ RELEASES/Liga\ Zon\ Sagres\ (iOS)/1.30/Liga\ Zon\ Sagres\ Companion/Flurry\ iPhone\ SDK\ viPhone\ 4/Flurry-iOS-4.4.0/Flurry -L/Users/bertobettencourt/Desktop/LIVE\ RELEASES/Liga\ Zon\ Sagres\ (iOS)/1.30/Liga\ Zon\ Sagres\ Companion/Flurry\ iPhone\ SDK\ viPhone\ 4/Flurry-iOS-4.4.0/FlurryAds -F/Users/bertobettencourt/Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Products/Debug-iphonesimulator -filelist /Users/bertobettencourt/Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Intermediates/Liga\ Zon\ Sagres\ Companion.build/Debug-iphonesimulator/Liga\ Zon\ Sagres\ Companion.build/Objects-normal/x86_64/Liga\ Zon\ Sagres\ Companion.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.0 -framework AudioToolbox -framework MessageUI -lFlurry_4.4.0 -framework SystemConfiguration -framework StoreKit -framework CoreData -framework AdSupport -lFlurryAds_4.4.0 -lGoogleAdMobAds -framework iAd -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/bertobettencourt/Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Intermediates/Liga\ Zon\ Sagres\ Companion.build/Debug-iphonesimulator/Liga\ Zon\ Sagres\ Companion.build/Objects-normal/x86_64/Liga\ Zon\ Sagres\ Companion_dependency_info.dat -o /Users/bertobettencourt/Library/Developer/Xcode/DerivedData/Liga_Zon_Sagres_Companion-fjlwctxjtriqrbgpjiscdoodhcgr/Build/Products/Debug-iphonesimulator/Liga\ Zon\ Sagres\ Companion.app/Liga\ Zon\ Sagres\ Companion
ld: library not found for -lGoogleAdMobAds
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我是新來的iOS我不知道是什麼原因造成這一點,似乎我的思念庫,任何想法,我可以找到它,如何解決這個問題?
謝謝。
**這對我來說是同樣的問題,這soultion工作完全在我的情況:請**嘗試:選擇項目>選擇項目目標>打造階段>點擊與庫鏈接二進制>點擊+按鈕,然後點擊在添加其他按鈕並選擇GoogleMobileAds.framework,現在清理您的項目,完成,現在再次構建。我希望它能幫助你。謝謝 –