Google.com Admob显示错误的admob / iAd调解,这是正确的方法吗?

时间:2015-01-24 08:26:28

标签: ios admob linker-errors iad xcode6.1

我一步一步地关注了谷歌的Admob / iAd调解。我最终只收到一个错误。这是完全错误。我从Xcode复制并粘贴。

Ld /Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Products/Debug-iphonesimulator/Tap\ .app/Tap\  normal x86_64
    cd "/Users/RobShi/Desktop/Tap  copy 7"
    export IPHONEOS_DEPLOYMENT_TARGET=7.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/iPhoneSimulator8.1.sdk -L/Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Products/Debug-iphonesimulator -L/Users/RobShi/Desktop/Tap\ copy\ 7/LibAdapterIAd-1.0.0 -L2 -L/Users/RobShi/Desktop/Tap\ copy\ 7/GoogleMobileAdsSdkiOS-6.12.2 -F/Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Products/Debug-iphonesimulator -filelist /Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Intermediates/Leap\ Up.build/Debug-iphonesimulator/Tap\ Up.build/Objects-normal/x86_64/Leap\ Up.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -framework SystemConfiguration -lGoogleAdMobAds -framework StoreKit -framework MessageUI -framework EventKitUI -framework EventKit -framework CoreTelephony -framework CoreGraphics -framework AVFoundation -framework AdSupport -framework iAd -lAdapterIAd -framework AudioToolbox -framework UIKit -framework Foundation -weak_framework GameKit -Xlinker -dependency_info -Xlinker /Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Intermediates/Tap\ Up.build/Debug-iphonesimulator/Tap\ Up.build/Objects-normal/x86_64/Tap\ Up_dependency_info.dat -o /Users/RobShi/Desktop/Robfile/Tap-hleybktumiggijftdbmrtsiuozcy/Build/Products/Debug-iphonesimulator/Tap\ Up.app/Tap\ 

ld: warning: directory not found for option '-L/Users/RobShi/Desktop/Tap  copy 7/LibAdapterIAd-1.0.0'
ld: warning: directory not found for option '-L2'
ld: warning: directory not found for option '-L/Users/RobShi/Desktop/Tap  copy 7/GoogleMobileAdsSdkiOS-6.12.2'
ld: library not found for -lGoogleAdMobAds
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我正在使用Xcode 6.1。我正在创建一个带有故事板的游戏。谷歌的调解不起作用。我该怎么办?

1 个答案:

答案 0 :(得分:1)

你需要这样做:

点击你的项目(目标) 单击Build Settings 在“库搜索路径”下,删除路径 第二个错误,对不起,我可以帮助你解决这个问题。希望别人可以帮助你。