警告:更新到 xcode 7 后找不到选项的目录 [英] warning: directory not found for option after update to xcode 7

查看:50
本文介绍了警告:更新到 xcode 7 后找不到选项的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我完全不知道这是什么意思:ld:警告:找不到选项-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks"的目录

I have totally no idea about what does it mean: ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

推荐答案

对我来说,它最终出现在 TestTarget 构建设置中.

For me it ended up being in the TestTarget Build Settings.

  1. 转到构建设置
  2. 点击项目名称旁边的向上/向下箭头(基本/全部按钮上方)以选择您的测试目标
  3. 在搜索栏中,输入搜索路径
  4. 删除框架搜索路径库搜索路径
  5. 下的所有冲突路径
  6. 干净
  7. 构建

就我而言,我在 Framework Search Paths 下有一个路径指向 Developer/Library/Frameworks

In my case, I had a path under Framework Search Paths pointing at Developer/Library/Frameworks

这篇关于警告:更新到 xcode 7 后找不到选项的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆