解决升级Xcode13, 检测代码覆盖度时,会出Undefined symbol: ___gcov_flush
这个错误的问题。在项目Podfile里加入这个pod库后,就可以正常使用了。原因是___gcov_flush
这个方法在Xcode13中已经从特定的系统库中移除了,所以找了一个旧的库封装了一下。目前framework只做了x64架构的。
To run the example project, clone the repo, and run pod install
from the Example directory first.
gcovFlushAdapter is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'gcovFlushAdapter'
chiyun1, [email protected]
gcovFlushAdapter is available under the MIT license. See the LICENSE file for more info.