我正在实现WebRTC的演示,但下面是WebRTC的示例,我得到了如下所示的错误
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /private/var/containers/Bundle/Application/C9A9D890-946F-4045-9FB3-C1F05912F4E2/webrtc-socketio-ios.app/Frameworks/SocketIO.framework/SocketIO
Reason: image not found 推荐链接演示
https://github.com/digixtechnology/iOSRTC
我尝试了许多解决方案,我的研究如下
$(inherited) @executable_path/Frameworks但是我仍然没有找到碰撞和错误图像,所以请有人帮我解决这个问题。
发布于 2020-01-17 09:45:09
注意::确保删除构建,然后再安装
发布于 2021-09-09 08:14:06
Swift软件包管理解决方案
在我的例子中,我通过WebRTC添加了快速包装管理器。我也犯了同样的错误。
.package(url: "https://github.com/stasel/WebRTC.git", from: "93.0.0")但是,我忘了在目标依赖项下添加。这是我的解决方案:
target(
name: "MyClientName",
dependencies: ["SomeOtherDependency", "**WebRTC**"]),最好的
https://stackoverflow.com/questions/54741633
复制相似问题