Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Strange behavior of Xcode Build Products Path under Build Locations

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...

like image 852
Becky Avatar asked Apr 08 '11 18:04

Becky


People also ask

Where is Xcode products folder?

In Xcode 13, the Products folder is no longer displayed in the Xcode navigator. Instead, you can go to the Product menu & select “Show Build Folder in Finder”. Open the Products folder and then the Debug folder and you'll find the wordlasso executable.

How do I clean up and build in Xcode?

To clean the build folder you can use the shortcut Command+Option+Shift+K or Menu Bar → Product → Hold Option Key → Clean build Folder .

What is Xcode new build system?

The New Build system runs the targets and it's build phases in parallel to speed up the overall Swift build. Once activated from Xcode, we will start to get benefits as well as issues related to the new build system in our iOS projects.


2 Answers

  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.

like image 70
amattn Avatar answered Sep 29 '22 07:09

amattn


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

Locations

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

test - test.xcodeproj
like image 41
Jordan Avatar answered Sep 29 '22 06:09

Jordan