Xcode构建产品路径在构建位置下的奇怪行为 [英] Strange behavior of Xcode Build Products Path under Build Locations

查看:89
本文介绍了Xcode构建产品路径在构建位置下的奇怪行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找答案,但是找不到,所以我将问题发布在这里.

I've been looking for an answer but I couldn't find so I'm posting the question here.

我在Xcode4下创建的每个项目在项目或目标设置-构建位置下都会获得完全相同的构建产品路径"

Every Project I created under Xcode4 gets the exactly the same "Build Products Path" under the project or target settings - Build Locations

我想知道这是否是因为我在Xcode 3中做了一些事情并且以某种方式永久设置了值吗?

I wonder if this is because I did something back in Xcode 3 and somehow permanently set the value ?

我已完全卸载,并从头开始重新安装,仍然是同一件事.

I have uninstall completely and re-install from scratch and still the same thing.

我刚刚在xcode4下创建了3个全新的ios项目(基于Windows),所有这些项目对于Build Products Path都具有完全相同的价值...就我而言,它始终指向

I just created 3 brand new ios projects (windows based) under the xcode4 and those all have the exactly same value for Build Products Path... in my case, it's always pointing to

/用户/RebeccaKennedy/文档/项目/iPhone/tmp

/Users/RebeccaKennedy/Documents/Projects/iPhone/tmp

每次!每个项目……这真的很烦人……

every time! every project... this is getting really annoying...

推荐答案

  1. 关闭Xcode中的所有项目,但保持Xcode打开
  2. 打开〜/Library/Preferences/com.apple.dt.Xcode.plist
  3. 找到关键点:IDEApplicationwideBuildSettings
  4. 删除该键中的两个项目
  5. 保存,重新启动Xcode

小心第二步..dt.表示Xcode4.不带dt表示Xcode 3.

be careful w/ step two. the .dt. is for Xcode 4. without the dt is for Xcode 3.

几乎可以肯定,这是Xcode将旧首选项从3迁移到4的结果.

This is almost certainly the result of Xcode migrating old preferences to 4 from 3.

这篇关于Xcode构建产品路径在构建位置下的奇怪行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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