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 warning: linking against a dylib which is not safe for use in application extensions #19

Closed
ironcircles opened this issue Jul 27, 2022 · 1 comment

Comments

@ironcircles
Copy link

Great plugin!

I am getting an warning when archiving my project in Xcode when I include ShareExtension.

"linking against a dylib which is not safe for use in application extensions"

Plugin works well so far so I believe is configured correctly.

Thoughts?

@JoshJuncker
Copy link
Collaborator

@ironcircles The addition to the pod file for ShareExtension has inherit! :search_paths which I believe links it against all of the other pods/libraries that the 'Runner' app links against. So, even though they aren't used, they are technically linked and therefore show the warning. I think there is a way to not do that, but I was running into issues when trying to remove it and it hasn't seemed to cause any errors that I know of.

I am definitely open to ideas and/or contributions if you or others are more knowledgeable with Xcode and cocoapods.

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