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

Xcode 15: Ignoring duplicate libraries: '-lc++' #52

Open
clausjoergensen opened this issue Sep 12, 2023 · 2 comments
Open

Xcode 15: Ignoring duplicate libraries: '-lc++' #52

clausjoergensen opened this issue Sep 12, 2023 · 2 comments

Comments

@clausjoergensen
Copy link

clausjoergensen commented Sep 12, 2023

Starting with Xcode 15 you don't need to link C++ anymore, and .linkedLibrary("c++") in your Package.swift will cause Xcode to produce a warning Ignoring duplicate libraries: '-lc++' for any app or framework where the GoogleAppMeasurementWrapper package is used (including transitive use)

You can also remove .linkedLibrary("z")

@clausjoergensen
Copy link
Author

And the same issue is also present for z in https://github.com/google/GoogleUtilities/

@paulb777
Copy link
Member

We plan to support Xcode 14 as long as the App Store allows it, so I'm not sure if we'll be able to solve before next spring.

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