项目在Xcode下编译,添加-ObjC后,编译出错

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,纠结啊。。。

Undefined symbols for architecture arm64

_MPMoviePlayerPlaybackStateDidChangeNotification

lz应该懂的撒。。。。

加入MediaPlayer.framework后编译成功了。。。但是没想明白cocos2d什么地方依赖这个库。。。

— Begin quote from ____

引用第2楼sirizhe于2014-07-22 15:52发表的 回 1楼(konglongdan) 的帖子 :
加入MediaPlayer.framework后编译成功了。。。但是没想明白cocos2d什么地方依赖这个库。。。 http://www.cocoachina.com/bbs/job.php?action=topost&tid=216075&pid=1010140

— End quote

UIVideoPlayerIOS
那个异常已经告诉你所有的信息了。
只是你没有仔细看而已。

so。。。