Skip to content

解决升级Xcode13, 检测代码覆盖度时找不到__gcov_flush方法的问题

License

Notifications You must be signed in to change notification settings

chiyun1/gcovFlushAdapter

Repository files navigation

gcovFlushAdapter

CI Status Version License Platform

解决升级Xcode13, 检测代码覆盖度时,会出Undefined symbol: ___gcov_flush 这个错误的问题。在项目Podfile里加入这个pod库后,就可以正常使用了。原因是___gcov_flush这个方法在Xcode13中已经从特定的系统库中移除了,所以找了一个旧的库封装了一下。目前framework只做了x64架构的。

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

gcovFlushAdapter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'gcovFlushAdapter'

Author

chiyun1, [email protected]

License

gcovFlushAdapter is available under the MIT license. See the LICENSE file for more info.

About

解决升级Xcode13, 检测代码覆盖度时找不到__gcov_flush方法的问题

Resources

License

Stars

Watchers

Forks

Packages

No packages published