对于代码覆盖率,我升级到xcode13,并使用extern导出内置函数“Gcov”。Xcode13报告了“未定义符号:__gcov_flush”的错误。我擅长xcode12。有人遇到这个问题吗?
具体的错误报告如下:
Undefined symbols for architecture x86_64: "___gcov_flush", referenced from: -[AppDelegate applicationDidEnterBackground:] in AppDelegate.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
发布于 2021-11-25 11:53:05
new使用__gcov_dump()。Place使用新的LLVM
https://stackoverflow.com/questions/69807787
复制相似问题