GithubHelp home page GithubHelp logo

Comments (16)

GhenadieVP avatar GhenadieVP commented on June 1, 2024 1

@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.

from webrtc.

stasel avatar stasel commented on June 1, 2024

For me it works with a new iOS project. Can you share your environment?
You should consider using SPM as well for easier integration

from webrtc.

Shishani58 avatar Shishani58 commented on June 1, 2024

@stasel I have the same issue, but I didn't install manually.
You can check the bug in this demo project:
https://github.com/Shishani58/WebRTC-bug-demo

With a structure: Swift Package with WebRTC in framework Target, you will get an error: Library not loaded.
It might be an SPM bug, but I haven't been able to resolve it.

from webrtc.

stasel avatar stasel commented on June 1, 2024

Hey @Shishani58
Not sure what is the purpose of the wrapper local package but it seems to cause the issue. If you directly reference the WebRTC-Package in your project it works with no issues on Xcode 13.4.1

from webrtc.

CyonAlexRDX avatar CyonAlexRDX commented on June 1, 2024

@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)

from webrtc.

Nahatakyan avatar Nahatakyan commented on June 1, 2024

Yes, my MacBook on M1 pro

from webrtc.

stasel avatar stasel commented on June 1, 2024

Thanks everyone for reporting and thanks to @GhenadieVP for the fix.
I have release a minor patch 109.0.1 with the fix. Can anyone please confirm that the latest release fixes the issue?

Thanks!

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

@stasel Hello! I add webrtc.framework to my framework by SPM and have same issue. v109.0.1

from webrtc.

CyonAlexRDX avatar CyonAlexRDX commented on June 1, 2024

@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:
derived data
.build (if SPM)
Clear SPM Package caches (Xcode -> File -> Packages -> Clear Cache
And try again?

Is it an iOS target or macOS target you are using?

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

@stasel @CyonAlexRDX Yes, I consuming from an app target.
Yes I cleared all of this
Error only when real iOS device target. For Mac all good

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

Is it a bug or I doing something wrong?

from webrtc.

stasel avatar stasel commented on June 1, 2024

@bmp123 can you try to reproduce the issue in a demo empty project and share it here?

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

@stasel Yes I can. https://github.com/bmp123/demo_webrtc_lib_issue
Снимок экрана 2023-02-02 в 10 04 33

from webrtc.

stasel avatar stasel commented on June 1, 2024

It compiles on my Xcode 14.2:
image

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

@stasel It’s compiled but if you add this framework into some app and start them - you get an error “library not found”

from webrtc.

bmp123 avatar bmp123 commented on June 1, 2024

@stasel open Demo.swift, you not see error like in screenshot?

@stasel Yes I can. https://github.com/bmp123/demo_webrtc_lib_issue
Снимок экрана 2023-02-02 в 10 04 33

from webrtc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.