cocos2d-x版本:3.3
以前能编译过的项目现在编译报这个错:
In file included from /cocos2d/cocos/base/CCController-iOS.mm:37:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/GameController.framework/Headers/GameController.h:51:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/GameController.framework/Headers/GCDevice.h:30:1: error: property with ‘retain (or strong)’ attribute must be of object type
@property (nonatomic, strong) dispatch_queue_t handlerQueue API_AVAILABLE(macos(10.9), ios(7.0), tvos(7.0));
^
1 error generated.
网上查了error: property with ‘retain (or strong)’ attribute must be of object type这个错是要在文件里加个什么东西,但是报错那个文件是ios的sdk里的,这个到底是改引擎代码还是改ios的sdk呀?