我使用echoprint API进行最近3个月的歌曲搜索。但突然间,它开始给我以下的错误。我已经在将该API添加到我的项目&时面临许多问题,现在它开始给我链接器错误。它以前为我工作。 错误是这样的:iOS中echoprint的链接器错误
"Codegen::Codegen(float const*, unsigned int, int)", referenced from: _GetPCMFromFile in File.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: symbol(s) not found for architecture i386
ld: warning: directory not found for option '-L-L/Users/prajaktakulkarni/Downloads/echoprint-codegen-4.12 2/src/echoprint-codegen-ios/build/Release-iphoneos' ld: warning: ignoring file /Users/prajaktakulkarni/Documents/Instajam/libechoprint-codegen-ios.a, missing required architecture i386 in file /Users/prajaktakulkarni/Documents/Instajam/libechoprint-codegen-ios.a (2 slices) Undefined symbols for architecture i386: "Codegen::Codegen(float const*, unsigned int, int)", referenced from: _GetPCMFromFile in File.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
它看起来像你试图在模拟器上运行它。如果你在设备上运行它,它会工作吗? – 2013-03-25 07:29:40
哦!!!!感谢詹姆斯记住这件事....现在它适合我:) – 2013-03-25 07:34:42