Re: OBJROOT and SYMROOT in Xcode 4?
Re: OBJROOT and SYMROOT in Xcode 4?
- Subject: Re: OBJROOT and SYMROOT in Xcode 4?
- From: Christiaan Hofman <email@hidden>
- Date: Mon, 04 Apr 2011 11:44:44 +0200
On Apr 4, 2011, at 9:16, Kai BrĂ¼ning wrote:
> Hi,
>
> for me newly created Xcode 4 projects show the Xcode 3 system default for OBJROOT and SYMROOT in the Build Settings panel, namely the relative path 'build'. But Xcode 4 no longer places its products in this folder alongside the project file.
>
> Tested with Xcode 4.0.1, Locations in preferences all set to default.
>
> The question is: how can I find the Xcode 4 build locations using build settings?
>
> Thanks,
> Kai
The values for OBJROOT and SYMROOT are by default set to a hidden preference that corresponds to the Xcode 3 preference value, there is no UI in Xcode 4 to change those default values. This was the subject of a recent thread on this list.
However, with the default preference settings in Xcode 4, those build settings will be ignored. Instead it uses a temporary location for all the build products and intermediates, somewhere in ~/Library/Developer/Xcode/DerivedData/. BTW, this is a big improvement relative to Xcode 3, because all dependencies now have the same SYMROOT, while in earlier versions of Xcode it often was unable to find products from dependencies that were placed in different locations. Now *where* this temporary location is exactly is not known, there is no build setting that will point you there, so the immediate answer to your question is that you can't. You could figure it out by browsing the file system (as the folder names are not completely arbitrary), or you can use Show in Finder on the product in the left pane.
Christiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden