【发布时间】:2012-03-25 21:54:16
【问题描述】:
我正在使用 xcode 4.2 创建一个 iphone 应用程序,并尝试使用 AVFoundation 框架播放一些广播流。
当我将它导入项目的框架和构建时,我收到以下警告:
ld: warning: ignoring file /Users/xanthos/Documents/tabbartest/AVFoundation.framework/AVFoundation, file was built for unsupported file format which is not the architecture being linked (i386)
当然,当使用任何框架(例如 AVAudioSession)时,我会收到如下错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AVAudioSession", referenced from:
objc-class-ref in RadioStreamer.o
我已经阅读了很多关于如何编译 AVFoundation 库的帖子,我真的不明白,我对所有这些都非常缺乏经验。我可以看到库的链接有些东西,但不是完全理解。
请问有什么线索吗?
提前谢谢你。
【问题讨论】:
标签: iphone xcode avfoundation