我是Xcode的新手,刚刚接手了这个项目。
我刚升级到Xcode 10,并且在尝试归档构建时遇到以下错误。在升级到10之前,该项目已正确存档。解决方法是什么?
架构armv7的未定义符号:
“ std :: ios_base :: Init :: Init()”,引用自:
__GLOBAL__sub_I_MAFConsoleLogger.mm in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: ios_base :: Init ::〜Init()”,引用自:
__GLOBAL__sub_I_MAFConsoleLogger.mm in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: basic_ostream>&std :: __ ostream_insert>(std :: basic_ostream>&,char const *,int)”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: basic_ios> :: widen(char)const”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: ostream :: put(char)”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: cerr”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: basic_ios> :: clear(std :: _ Ios_Iostate)”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
“ std :: ostream :: flush()”,引用自:
-[MAFConsoleLogger logMessage:withLevel:andInfo:] in libMAFLogger.a(MAFConsoleLogger.o)
ld:体系结构armv7找不到符号
clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)