在项目中用到了第三方库libxx.a,因为只提供了真机所用的库,因为调试时把其切换到了模拟器下,出现下面的链接错误提示,百思不得其解:刚才来好好的,怎么一下子就出错了呢,后来才想到是两种不同库的原因。
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
在项目中用到了第三方库libxx.a,因为只提供了真机所用的库,因为调试时把其切换到了模拟器下,出现下面的链接错误提示,百思不得其解:刚才来好好的,怎么一下子就出错了呢,后来才想到是两种不同库的原因。
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)