我使用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