尝试播放声音时出现未知错误

时间:2012-08-30 01:05:04

标签: iphone objective-c xcode cocoa-touch

ld: warning: ignoring file /Users/myself/Desktop/iOS Development/X Code Projects/myproject/AudioToolbox.framework/AudioToolbox, missing required architecture i386 in file /Users/myself/Desktop/iOS Development/X Code Projects/myproject/AudioToolbox.framework/AudioToolbox (2 slices)

我需要快速解决它! 谢谢!

1 个答案:

答案 0 :(得分:1)

可能你需要导入框架AudioToolBox,试试吧。

       #import <AudioToolbox/AudioServices.h>