Undefined symbols for architecture armv7s:
"_GCControllerDIDdisconnectNotification",referenced from:-[GCControllerConnectionEventHandler observerConnection:disconnection:] in libcocos2dx iOS.a(CCController-iOS.o)
"_GCControllerDIDConnectNotification",serif; Font-size:14px; line-height:24px"> "_OBJC_CLASS_$_GCController",serif; Font-size:14px; line-height:24px"> objc-class-ref in libcocos2dx iOS.a(CCController-iOS.o)
(maybe you meant: _OBJC_CLASS_$_GCControllerConnectionEventHandler)
ld: symbol(s) not found for architecture armv7s
clang: error: linker command Failed with exit code 1 (use -v to see invocation)
我用的是iphone5c,昨天使用admob的广告,这个sdk要求要将Other linker Flags 设置成 -ObjC。不知如何解决以上报错。
增加两个库:
MediaPlayer.framework
GameController.framework
原因参见:http://stackoverflow.com/questions/24844766/linking-errors-when-adding-admob-to-ios-cocos2d-x-3-2
以上是内存溢出为你收集整理的cocos2dx3.2 Other Linker Flags 设置成 -ObjC 真机编译报错全部内容,希望文章能够帮你解决cocos2dx3.2 Other Linker Flags 设置成 -ObjC 真机编译报错所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)