cocos2d-js3.0-rc1版本引擎,新建项目后,在Other Linker flags中配置-ObjC后编译出错:
Undefined symbols for architecture arm64:
“_MPMoviePlayerPlaybackStateDidChangeNotification”, referenced from:
- in libcocos2dx iOS.a(UIVideoPlayerIOS.o)
- in libcocos2dx iOS.a(UIVideoPlayerIOS.o)
“OBJC_CLASS$_MPMoviePlayerController”, referenced from:
objc-class-ref in libcocos2dx iOS.a(UIVideoPlayerIOS.o)
“_MPMoviePlayerPlaybackDidFinishNotification”, referenced from:
- in libcocos2dx iOS.a(UIVideoPlayerIOS.o)
- in libcocos2dx iOS.a(UIVideoPlayerIOS.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请问如何解决,接某些第三方SDK需要加入-ObjC,纠结啊。。。