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

When I tried to achieve, I encountered this error. "not loaded: @rpath/RswiftResources.framework/Versions/A/RswiftResources" #856

Open
Rylaa opened this issue Oct 1, 2023 · 6 comments

Comments

@Rylaa
Copy link

Rylaa commented Oct 1, 2023

xcode version: Xcode 15

Rswift
Screenshot 2023-10-01 at 18 03 39

SPM
Screenshot 2023-10-01 at 18 02 08

Run build tools

Screenshot 2023-10-01 at 18 02 36

Error

Screenshot 2023-10-01 at 18 02 58

How can i resolve this problem?

@Rylaa
Copy link
Author

Rylaa commented Oct 2, 2023

@tomlokhorst can you help me with this?

@kylechandev
Copy link

Does anyone know how to solve this problem?

@martijnvdwal
Copy link

@Rylaa / @kylechandev

I think this might solve your issue:

Go to your target settings, select general, and scroll down to "Frameworks, Libraries, and Embedded Content" and remove rswift, RswiftLibrary is the only one you want.

Before Xcode 15, Xcode would ask which libraries to import, but with Xcode 15 it adds all the available libraries by default, so you'll have to do this every time after you add this package to your project.

@a-kushniarou
Copy link

Thanks @martijnvdwal that helped me

@kylechandev
Copy link

@Rylaa / @kylechandev

I think this might solve your issue:

Go to your target settings, select general, and scroll down to "Frameworks, Libraries, and Embedded Content" and remove rswift, RswiftLibrary is the only one you want.

Before Xcode 15, Xcode would ask which libraries to import, but with Xcode 15 it adds all the available libraries by default, so you'll have to do this every time after you add this package to your project.

Thank you very much! ! !

@dimic-milos
Copy link

If you are still encountering this issue, make sure "Other Linker Flags" under "Build Settings" does NOT contain RSwiftResources. We switched from pods to SPM, and could be a leftover. Pain to find

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

5 participants