Xcode删除文件或目录有可能产生的问题
从项目中删除了某个目录、文件以后,编译出现警告信息:
1
ld: warning: directory not found for option “XXXXXX”
消除警告的办法是:
- 选择工程, 编译的 (targets)
- 选择 Build Settings 菜单
- 找到
Library Search Paths
和Framework Search Paths
, 删掉编译报warning的路径即OK
This post is licensed under CC BY 4.0 by the author.