Comments (16)
@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.
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.
@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.
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.
@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.
Yes, my MacBook on M1 pro
from webrtc.
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.
@stasel Hello! I add webrtc.framework to my framework by SPM and have same issue. v109.0.1
from webrtc.
@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.
@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.
Is it a bug or I doing something wrong?
from webrtc.
@bmp123 can you try to reproduce the issue in a demo empty project and share it here?
from webrtc.
@stasel Yes I can. https://github.com/bmp123/demo_webrtc_lib_issue
from webrtc.
from webrtc.
@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.
@stasel open Demo.swift, you not see error like in screenshot?
@stasel Yes I can. https://github.com/bmp123/demo_webrtc_lib_issue
from webrtc.
Related Issues (20)
- Loads fine via SPM but can't add to other targets HOT 1
- Error running on Apple M1 Simulator in a Unit Test bundle: Trying to load an unsigned library HOT 4
- Not working with Mac Catalyst HOT 1
- Does this library support H265 ?
- Naming issue with legacy WebRTC
- Freeze in the stream when connecting to more than 4 peers HOT 1
- XCFramework with static linking
- Swift Playgrounds support
- Compile for Apple Vision HOT 4
- C++ interop in Swift HOT 2
- Network problems with iOS 17 HOT 7
- Expose VAD
- M118 Undefined symbols:_OBJC_CLASS_$_RTCEAGLVideoView HOT 46
- Aborting after deadlock
- m119 ld: Undefined symbols:
- Capture only audio HOT 1
- Privacy manifest file HOT 2
- Version 122.0.0 crash on app start HOT 1
- Microphone active even when audio track is recvonly HOT 1
- MobSF Security scan issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webrtc.