Strange behavior of Xcode Build Products Path under Build Locations

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 13:13:56

问题


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

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

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.

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

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

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


回答1:


  1. Close all your projects in Xcode, but leave Xcode open
  2. Open up ~/Library/Preferences/com.apple.dt.Xcode.plist
  3. Find the key: IDEApplicationwideBuildSettings
  4. Delete the two items in that key
  5. Save, restart Xcode

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

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




回答2:


You haven't said what you've tried...but check this setting in Xcode Preferences.


I assume you've check these two locations (search for tmp)?




来源:https://stackoverflow.com/questions/5599587/strange-behavior-of-xcode-build-products-path-under-build-locations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!