我需要将我的音频文件转换为 PCM,为此我正在使用 iPhoneExtAudioFileConvertTest 示例项目。我已将该项目中的所有文件复制并粘贴到我需要的项目中。将 .cpp 的扩展名更改为 .mm。验证所有框架都在那里。但我仍然收到此错误。我搜索了很多,但除了我上面写的之外找不到任何东西。
这是错误。
Undefined symbols for architecture armv7s:
"_DoConvertFile", referenced from:
-[EditViewController convertAudio:DestPath:] in EditViewController.o
ld: symbol(s) not found for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何帮助将不胜感激。
谢谢