美文网首页
iOS报错: directory not found for

iOS报错: directory not found for

作者: 奔跑吧小蚂蚁 | 来源:发表于2018-07-20 10:19 被阅读9次

1.

错误:"directory not found for option '-L/..."

原因:这表示是查询 Library 的时候出现的异常

解决方案:依次 Project -> targets -> Build Setting -> Library Search Paths 删除里面的路径

解决原理:附加到项目中的第三方Library(.a files)的搜索路径,Xcode会自动设置拖拽到Xcode中的.a文件的路径.

2.

错误:"directory not found for option '-F/..."

原因:这表示是查询 Framework 的时候出现的异常

解决方案:依次 Project -> targets -> Build Setting -> Framework Search Paths删除里面的路径

解决原理:附加到项目中的framework(.framework bundles)的搜索路径

相关文章

网友评论

      本文标题:iOS报错: directory not found for

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