CSDN博客
img shinancao666
IOS開發(fā)筆記:編譯時出現(xiàn)的錯誤
發(fā)表于2013/10/12 13:39:45 ?28615人閱讀
1、"std::ios_base::Init::~Init()", referenced from
出現(xiàn)這樣的編譯問題,是需要再加進libstdc++.dylib和libstdc++.6.dylib(為6.1使用)
2、apple Mach-o Linker error通常是因為compile source中有相同的.m文件
3、如果在真機中進行測試時出現(xiàn)failed to get the task for process,有可能是證書出了問題。
4、如果出現(xiàn)expect a type的錯誤,可能出現(xiàn)了在.h文件中的循環(huán)引用。
5、以后不能同時有兩個一樣的.m文件在編譯,這樣會報linker command failed with exit code 1 (use -vto see invocation)這個錯誤。