最佳答案
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/