我尝试在Mac中播放简单的mp3文件iPhone模拟器。
我使用AVFoundation.framework和AVAudioPlayer。
在我的Mac之一中一切正常,但是在onother Mac上,当我构建应用程序(模拟器2.2)时出现错误:

错误是:

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

最佳答案

实际上您确实有DivX,但是它缺少一个符号,因此您需要删除
/ Library / QuickTime / DivX Decoder.component

10-08 06:10