Post

Xcode删除文件或目录有可能产生的问题

从项目中删除了某个目录、文件以后,编译出现警告信息:

1
ld: warning: directory not found for option “XXXXXX”

消除警告的办法是:

  1. 选择工程, 编译的 (targets)
  2. 选择 Build Settings 菜单
  3. 找到 Library Search PathsFramework Search Paths, 删掉编译报warning的路径即OK
This post is licensed under CC BY 4.0 by the author.