关于3.2的GameController.framework

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以上,这样就会损失很多用户的

GameController是游戏手柄的匹配,不需要的话可以去掉~~

去掉的话就会报上面的错误

不需要强加啊,而且默认是没有添加到工程中的,你看下你的framework是不是多了一个GameController.framework,如果有删除试试。