美文网首页
模拟器报错: ld: library not found for

模拟器报错: ld: library not found for

作者: xyZHua | 来源:发表于2022-09-28 19:20 被阅读0次

问题描述:在真机调试正常,在模拟器上保存提示:错误 ld: library not found for -lPods-项目名
处理过程:经过多次尝试:

1)在项目的 Build Setting下的 VALID_ARCHS 参数添加添加 x86_64  架构
2)在 Build Phase 下的 Link Binary With Libraries 中删除  "libPods-xxxx项目名.a" 文件 

其中方法二使我的项目成功在模拟器上运行,特此记录。

相关文章

网友评论

      本文标题:模拟器报错: ld: library not found for

      本文链接:https://www.haomeiwen.com/subject/eigcartx.html