使用版本:3.0,3.1,3.2
运行环境:Mac OS 10.9.3
开发环境:Xcode 5.1
出现问题:Other Linker Flags中增加-ObjC选项会出现如下编译错误。
(null): “_GCControllerDidDisconnectNotification”, referenced from:
(null): - in libcocos2dx iOS.a(CCController-iOS.o)
(null): “_GCControllerDidConnectNotification”, referenced from:
(null): - in libcocos2dx iOS.a(CCController-iOS.o)
(null): “OBJC_CLASS$_GCController”, referenced from:
(null): Objc-class-ref in libcocos2dx iOS.a(CCController-iOS.o)
(null): (maybe you meant: OBJC_CLASS$_GCControllerConnectionEventHandler)
(null): Symbol(s) not found for architecture armv7
(null): Linker command failed with exit code 1 (use -v to see invocation)