开发者

dyld: Symbol not found: _MPMoviePlayerPlaybackStateDidChangeNotification

I am building universal app which uses MPMoviePlayerViewController to play the video. Observing notification "MPMoviePlayerPlaybackStateDidChangeNotification". The app successfully runs in iPad simulator but throws following error when it runs in iPhone:-

dyld: Symbol not found: _MPMoviePlayerPlaybackStateDidChangeNotification Referenced from:开发者_StackOverflow中文版 /Users/veer/Library/Application Support/iPhone Simulator/3.0/Applications/27BC67AA-72D1-4DD2-9146-0126FCC8E90C/test.app/eReader Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer in /Users/veer/Library/Application Support/iPhone Simulator/3.0/Applications/27BC67AA-72D1-4DD2-9146-0126FCC8E90C/test.app/eReader

Is any one having the same issue and got resolved?

Thanks in Advance!


You need to weak-link the MediaPlayer framework.

Look at this answer to see how to weak-link a framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜