Tag Archives: Undefined symbols for architecture armv7

[Solved] Undefined symbols for architecture armv7

“_ OBJC_ CLASS_$_ GCController”, referenced from:
objc-class-ref in libcocos2d iOS.a(CCController-iOS.o)
(maybe you meant: _ OBJC_ CLASS_$_ GCControllerConnectionEventHandler)

Using the third-party library of AdMob, there is no problem in compiling. There is an error in linking, and the test package cannot be generated. Solution:

Add gamecontroller. Framework in link lib under build phases and archive again