我正在 github 上为我的 robovm-libgdx 项目集成 admob 绑定:https ://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/admob,请 遵循以下文档:https ://github.com/libgdx /libgdx/wiki/Admob-in-libgdx#ios-setup-robovm
在使用设备调试步骤中,出现错误:
6/20/14 10:02:57 AM: [ERROR] Undefined symbols for architecture armv7:
6/20/14 10:02:57 AM: [ERROR] "_, referenced from:
6/20/14 10:02:57 AM: [ERROR] l001 in libadmob.a(GADGestureUtil.o)
6/20/14 10:02:57 AM: [ERROR] "_SCNetworkReachabilityGetFlags", referenced from:
6/20/14 10:02:57 AM: [ERROR] l001 in libadmob.a(GADGestureUtil.o)
6/20/14 10:02:57 AM: [ERROR] "_OBJC_CLASS_$_MMessageComposeViewController", referenced from:
6/20/14 10:02:57 AM: [ERROR] objc-class-ref in libadmob.a(GADOpener.o)
6/20/14 10:02:57 AM: [ERROR] "_OBJC_CLASS_$_MFMailComposeViewController", referenced from:
6/20/14 10:02:57 AM: [ERROR] objc-class-ref in libadmob.a(GADOpener.o)
6/20/14 10:02:57 AM: [ERROR] "_SCNetworkReachabilityCreateWithName", referenced from:
6/20/14 10:02:57 AM: [ERROR] -[GADNetworkChecker startNetworkChecking] in libadmob.a(GADNetworkChecker.o)
6/20/14 10:02:58 AM: [ERROR] "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
6/20/14 10:02:58 AM: [ERROR] objc-class-ref in libadmob.a(GADDevice.o)
6/20/14 10:02:58 AM: [ERROR] "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
6/20/14 10:02:58 AM: [ERROR] -[GADNetworkChecker stopNetworkChecking] in libadmob.a(GADNetworkChecker.o)
6/20/14 10:02:58 AM: [ERROR] "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
6/20/14 10:02:58 AM: [ERROR] -[GADNetworkChecker startNetworkChecking] in libadmob.a(GADNetworkChecker.o)
6/20/14 10:02:58 AM: [ERROR] "_SCNetworkReachabilitySetCallback", referenced from:
6/20/14 10:02:58 AM: [ERROR] -[GADNetworkChecker startNetworkChecking] in libadmob.a(GADNetworkChecker.o)
6/20/14 10:02:59 AM: [ERROR] ld: symbol(s) not found for architecture armv7
6/20/14 10:02:59 AM: [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)
6/20/14 10:02:59 AM: [ERROR] Build fail
我需要你帮助解决它。谢谢!