ios - 如何从 libWebRTC.a 静态库中删除 x86_64 架构,同时在 iOS 中从该静态库构建 fat 库?

标签 ios architecture sdk frameworks webrtc

Shows this error while creating a fat library using libWebRTC.a static library

使用 libWebRTC.a 静态库创建 fat 库时显示此错误

到目前为止,我发现该架构适用于 Simulator 和 WebRTC。静态库在构建 fat 库时存在一些已知问题。

最佳答案

I faced this issue while I was creating a fat(Multiplatform) framework using libWebRTC.a static library. Having some research I found that its a know issue of webrtc library of architecture support for simulator.

我发现要修复它,我必须从这个静态库中删除这个架构...这就是我所做的并修复了它。

//lipo <static library file name> -remove <arch_name> <Output file name>

lipo libWebRTC.a  -remove x86_64 -output libWebRTC_arm7.a

提及此命令正在文件所在的文件夹上运行。

我投入了大量的精力和挫折来解决这个问题。希望其他人可以拯救他们的。

关于ios - 如何从 libWebRTC.a 静态库中删除 x86_64 架构,同时在 iOS 中从该静态库构建 fat 库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52313161/

相关文章:

iphone - 当 UITableView 嵌套在 UIScrollView 中时,如何触发 scrollsToTop

php - 来自一个路由脚本 : what are the pros and cons? 的 Web 应用程序

azure - 是否需要对 Azure Application Insights 进行补充日志记录?

java - Parse.com 安卓 : Number of ParseObjects I can pin to the Local Datastore?

android - 蓝牙设备可以向 WiFi 发送消息吗?

用于接受 TCP 套接字上的连接的 iOS 应用程序沙箱

python - 用于科学 Web 应用程序的谷歌云平台架构

facebook - 如何在 Facebook 的开发者面板上更新/升级 Facebook App API 版本?我什至需要这样做?

android - 错误 : failed to find target with hash string 'android-14' in:Open Android SDK Manager

ios - ios 应用程序中有一个显示音频/图像/视频的选择器吗?