3.2版本的2dx必须强制加入GameController吗,不加入的话会报错,
Undefined symbols for architecture i386:
“_GCControllerDidConnectNotification”, referenced from:
- in libcocos2dx iOS.a(CCController-iOS.o)
“_GCControllerDidDisconnectNotification”, referenced from:
- in libcocos2dx iOS.a(CCController-iOS.o)
"OBJC_CLASS_GCController", referenced from:
objc-class-ref in libcocos2dx iOS.a(CCController-iOS.o)
(maybe you meant: _OBJC_CLASS__GCControllerConnectionEventHandler)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
加入的话系统版本必须是7.0以上,这样就会损失很多用户的