Question 1: Cocos2dx编译错误Symbol(s) not found for architecture armv7
使用版本:3.0,3.1,3.2
运行环境:Mac OS 10.9.3
开发环境:Xcode 5.1
出现问题:Other Linker Flags中增加-ObjC选项会出现如下编译错误。
(null): "_GCControllerDidDisconnectNotification", referenced from:
(null): -[GCControllerConnectionEventHandler observerConnection:disconnection:] in libcocos2dx iOS.a(CCController-iOS.o)
(null): "_GCControllerDidConnectNotification", referenced from:
(null): -[GCControllerConnectionEventHandler observerConnection:disconnection:] 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)