关于手动导入3方库的问题报错
红色字体上面的警告也很重要,这次就说
library not found for -xxx 。
看了半天,没处理问题,后面发现上面有两行
ld: warning: directory not found for option l...
如下解决办法
"directory not found for option '-L/..." //表示是查询 Library 的时候出现的异常
"directory not found for option '-F/..." //表示是查询 Framework 的时候出现的异常。
解决方法:
'-L/...":
依次 Project -> targets -> Build Setting -> Library Search Paths
删除里面 报错库 的路径
'-F/...":
依次 Project -> targets -> Build Setting -> Framework Search Paths
删除里面 报错库 的路径
网友评论