Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Going back and forth between builds with and without `--enable-code-coverage` causes linker failures.
Easy to reproduce with Swift 5.0.1 (macOS):
swift package init
swift test --enable-code-coverage
swift test --generate-linuxmain
Undefined symbols for architecture x86_64:
"___llvm_profile_runtime", referenced from:
___llvm_profile_runtime_user in XCTestManifests.swift.o
(maybe you meant: ___llvm_profile_runtime_user)
ld: symbol(s) not found for architecture x86_64
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
Is code coverage not considered an incremental-build-affecting flag?
Sorry, something went wrong.
Comment by Jeremy David Giesbrecht (JIRA)
This issue resolved itself at some point. It does not manifest in Swift 5.4.
No branches or pull requests