简体   繁体   English

Google.com Admob显示错误的admob / iAd中介,正确的方法是什么?

[英]Google.com Admob shows WRONG admob/iAd mediation, what's correct way?

I followed Google's Admob/iAd mediation step by step. 我逐步遵循了Google的Admob / iAd中介。 I only end up getting an error. 我只得到一个错误。 This is the EXACT error. 这是完全错误。 I copied and pasted from Xcode. 我从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)

I'm using Xcode 6.1. 我正在使用Xcode 6.1。 I'm creating a game with storyboards. 我正在使用故事板创建游戏。 Google's mediation isn't working. Google的中介无效。 What do I do? 我该怎么办?

You need to do this: 您需要这样做:

Click on your project (targets) Click on Build Settings Under Library Search Paths, delete the paths And the second error, sorry i can help you out with that one. 单击您的项目(目标),单击“库搜索路径”下的“构建设置”,删除路径。第二个错误,抱歉,我可以帮助您解决这个问题。 Hope someone else can help you out. 希望其他人可以帮助您。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM