xcode 经常出现的警告问题解决方法ld: warning: directory not found for option '-L/Users/

来源:互联网 发布:天柱行知中学 编辑:程序博客网 时间:2024/05/21 22:38

经常我们会遇到xocde 中老是提示警告问题,看着特别烦人,让人不爽. 尤其是在我们引入第三方,然后又将其删除之后,就会出现类似的一些警告.

ld: warning: directory not found for option '-L/Users/xxxx/Desktop/Mos

解决方

  1. 选择工程, 编译的 (targets)
  2. 选择 Build Settings 菜单,之后找到Build Settings ,在Search Paths 中有个Deug和Release点击之后有会相对的路径删除该路径,清理一下工程即可.

1 0
原创粉丝点击