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

linking against a dylib which is not safe for use in application extensions: ...../MSAL.framework/MSAL #1789

Open
3a4oT opened this issue Jul 12, 2023 · 3 comments
Assignees
Labels

Comments

@3a4oT
Copy link

3a4oT commented Jul 12, 2023

Hey, I'm trying to build an extension that uses the App Intents framework. I get this warning when importing SPM based library with MSAL as a dependency. I saw that people already raised this kind of question, and the issue was closed.

Is it related to #1418 ?

@jasoncoolmax
Copy link
Member

@3a4oT Could you share some detailed warnings or error messages? such that I can see if I can help dig deeper.

@jasoncoolmax jasoncoolmax self-assigned this Jul 13, 2023
@3a4oT
Copy link
Author

3a4oT commented Jul 14, 2023

Hey @jasoncoolmax. I have a standalone iOS application that is using SPM based package with multiple targets and one of the targets has a dependency on MSAL. I want to create an extension for my app using AppIntents Framework. When I try to link my shared SPM library to app extension build passing but I get Xcode warning:

ld: warning: linking against a dylib which is not safe for use in application extensions

Linking against a dylib which is not safe for use in application extensions: /Users/<user>/Library/Developer/Xcode/DerivedData/<app>-ezyzrhzdkqeptxweyhbpeawqbytmlz/Build/Products/Debug-iphonesimulator/MSAL.framework/MSAL

There are no other useful logs. For a quick search on Google, it seems to be related to MSAL framework configuration itself.

@priya-mobiquity
Copy link

I am also facing the same issue..
Can you please let us know the solution for this warning

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

4 participants