-
Notifications
You must be signed in to change notification settings - Fork 82
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
Library not loaded: @rpath/WebRTC.framework/WebRTC #39
Comments
For me it works with a new iOS project. Can you share your environment? |
@stasel I have the same issue, but I didn't install manually. With a structure: Swift Package with WebRTC in framework Target, you will get an error: Library not loaded. |
Hey @Shishani58 |
@Nahatakyan @Shishani58 do you have an Apple M1, the issue has been fixed in #61 (but our Intel colleague did not have the issue, only M1s) |
Yes, my MacBook on M1 pro |
Thanks everyone for reporting and thanks to @GhenadieVP for the fix. Thanks! |
@stasel Hello! I add webrtc.framework to my framework by SPM and have same issue. v109.0.1 |
Can you share your Package.swift? Or are you consuming Stasel/WebRTC directly from an app target? Do you make sure to delete: Is it an iOS target or macOS target you are using? |
@stasel @CyonAlexRDX Yes, I consuming from an app target. |
Is it a bug or I doing something wrong? |
@bmp123 can you try to reproduce the issue in a demo empty project and share it here? |
@stasel It’s compiled but if you add this framework into some app and start them - you get an error “library not found” |
@stasel open Demo.swift, you not see error like in screenshot?
|
@bmp123 Just by cloning your repo, indeed I got the same error as you. But removing and adding the WebRTC package again - fixed the issue for me. |
Hi. I am trying to install a manually downloaded WebRTC. I create an empty project, add
xcframework
to myFrameworks, Libraries, and Embedded content
and just run the empty project. I am getting these errors:Do I need to do something else that's not written in the instructions?
Update.
I changed to Embed and sign, and the project works, but when I try to add WebRTC.framework to my framework and it does not work. The same issue
The text was updated successfully, but these errors were encountered: