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

Compiling with Xcode 15.0 beta 5 for "My Mac (Mac Catalyst)" fails with "ld: Undefined symbols:..." #268

Open
GerdC opened this issue Aug 5, 2023 · 3 comments

Comments

@GerdC
Copy link

GerdC commented Aug 5, 2023

Reproduce:
Compile a project that uses GeoSwift with Xcode 15.0 beta 5 for "My Mac (Mac Catalyst)"

Result:
In the build, the link step for geos fails:

ld: Undefined symbols:
  ___llvm_profile_runtime, referenced from:
      ___llvm_profile_runtime_user in geos.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@macdrevx
Copy link
Member

macdrevx commented Aug 7, 2023

Possibly related to GEOSwift/geos#14. Do you have code coverage enabled? If so, could you try turning it off to see whether that makes this error go away?

@GerdC
Copy link
Author

GerdC commented Aug 7, 2023

Yes , disabling code coverage in all test plans makes the error go away.
(I had no problem with other targets, including "My Mac (designed for iPad)")

@macdrevx
Copy link
Member

macdrevx commented Aug 8, 2023

Okay, thanks for checking that. I'll submit feedback to Apple about this. From what I can tell, code coverage should work in this situation, but clearly it does not.

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

2 participants