我尝试在我的 Mac 中播放简单的 mp3 文件 iPhone 模拟器。我使用 AVFoundation.framework 和 AVAudioPlayer。在我的一台 Mac 上一切正常,但在另一台 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