dyld:找不到符号:_MPMoviePlayerPlaybackStateDidChangeNotification

时间:2010-06-01 13:46:16

标签: dyld

我正在构建使用MPMoviePlayerViewController播放视频的通用应用。观察通知“MPMoviePlayerPlaybackStateDidChangeNotification”。该应用程序在iPad模拟器中成功运行,但在iPhone中运行时会抛出以下错误: -

dyld:未找到符号:_MPMoviePlayerPlaybackStateDidChangeNotification   参考自:/ Users / veer / Library / Application Support / iPhone Simulator / 3.0 / Applications / 27BC67AA-72D1-4DD2-9146-0126FCC8E90C / test.app / eReader   预期在:/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

是否有人遇到同样的问题并得到解决?

提前致谢!

1 个答案:

答案 0 :(得分:3)

您需要弱化MediaPlayer框架。

查看this answer以了解如何弱化框架。