English 中文(简体)
dyld: Symbol not found: _MPMoviePlayerPlaybackStateDidChangeNotification
原标题:
  • 时间:2010-06-01 13:46:16
  •  标签:
  • dyld

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: /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.





相关问题
Dyld Symbol not Found Error

Here s my error. dyld: Symbol not found: __ZTIN8eqOsirix3ROIE Referenced from: /Users/slate/Documents/osirixplugins/CoreDataTrial_EQOsirix/build/Development/rcOsirix.app/Contents/MacOS/rcOsirix ...

Makefile can not find boost libraries installed by macports

I just installed boost 1.42.0 from macports using sudo port install boost. Everything worked fine. Now I have a project that I m trying to build using a makefile. Everything builds fine until it ...

dyld: Library not loaded - When app run from the command line

I face some difficulties when adding a framework to my project when i run an iPhone app from the command line. My final goal is to run applications tests from an automated build process. When i run ...

热门标签