Skip to content
New issue

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? Sign in to your account

[SR-15520] SPM issues code coverage on #4374

Open
swift-ci opened this issue Nov 24, 2021 · 0 comments
Open

[SR-15520] SPM issues code coverage on #4374

swift-ci opened this issue Nov 24, 2021 · 0 comments
Labels

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-15520
Radar rdar://problem/51080767
Original Reporter tassiomm (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 93340ba0aad8004e510869d511fa184c

cloned from:

  • SR-10645 Package manager cache issues switching code coverage on and off

Issue Description:

I cloned the issue because it's still happening to me. When building my test target, with code coverage on, and using SPM for my dependencies, I'm facing the following issue

My configuration:

Xcode version 13.1 (13A1030d)

swift-driver version: 1.26.9 Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
Target: x86_64-apple-macosx11.0

Output:

Undefined symbols for architecture arm64:
  "___llvm_profile_runtime", referenced from:
      ___llvm_profile_runtime_user in Segment.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

and

Undefined symbols for architecture arm64:
  "___llvm_profile_runtime", referenced from:
      ___llvm_profile_runtime_user in Branch.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

As soon I was disable test coverage, the problem goes away.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants