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

___llvm_profile_runtime link error when using SPM with multiple projects #565

Open
owenworley opened this issue Sep 23, 2021 · 3 comments
Open

Comments

@owenworley
Copy link

We have a project 'A' which imports a local framework project 'B'

When both 'A' and 'B' import Adjust via SPM, building fails with a linker error stating '___llvm_profile_runtime when building architecture arm64'

If we import Adjust only from framework 'B' we do not see this error, and 'A' can still call methods from Adjust.

This does not happen with other swift packages. We should be able to import the SPM package to both our App target and Framework target without errors.

@uerceg
Copy link
Contributor

uerceg commented Oct 26, 2021

Hi @owenworley,

Thanks for reporting this and sorry for a delay in replying. Interesting, we'll check it out on our end. Can you explain how is project A importing B exactly? Are they two separate projects or part of the same project tree? What is project A, is it an app or also framework project?

@uerceg
Copy link
Contributor

uerceg commented Dec 1, 2021

Just following up on this one. ☝️

@mstfy
Copy link
Contributor

mstfy commented Feb 24, 2022

You might enabled code coverage for one framework and not for other framework? @owenworley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants