Iphone simulator’s mess : get your AVFoundation audio and video working !

7 avril 2009 at 20 h 36 min Laisser un commentaire

I got yesterday an error when playing a wav or mp sound within the Iphone simulator. My code and everything was right, but the console displayed an error about a quicktime library.

Error loading /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder: dlopen(/Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder, 262): Symbol not found: _SCDynamicStoreCopyConsoleUser
Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.2.1.sdk/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration

My configuration is Macbook under Mac OS 10.5 + iphone SDK 2.2.1.

How to solve this issue ?

If you have the same kind of message, it means (as far as i understand) your iphone simulator is looking for a codec on your shared library, and found one suiting for the playing of your file, but which is not linked to your simulator.

The best way i found was to uninsall with the « DivX uninstaller » program.

If you don’t have any « DivX uninstaller », you can either:

1. Reinstall divx codecs from quicktime thirdparty code download center, and then uninstall the library using this program


2. Become root and type some rm -rf on the directory of the evil codec (something like /Library/QuickTime/DivX)

I’m now able to play wav files without any problem.Mp3 and m4v should be OK too.


Entry filed under: iphone programming. Tags: , .

Animated transition between tabbar’s view on Iphone Place dans un classement et rang parmi des enregistrements MySQL

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Articles récents

%d blogueurs aiment cette page :