Re: Custom build location from Xcode 3 not editable in Xcode 4
Re: Custom build location from Xcode 3 not editable in Xcode 4
- Subject: Re: Custom build location from Xcode 3 not editable in Xcode 4
- From: Christiaan Hofman <email@hidden>
- Date: Thu, 31 Mar 2011 11:42:49 +0200
On Mar 31, 2011, at 8:14, Brock Brandenberg wrote:
> When opening an existing Xcode 3 project in Xcode 4, I can't seem to locate one of the old settings in the new Xcode 4 UI... The Xcode 3 project has a custom build location specified in the "Custom location" field under the General tab in the project info window, but this location isn't found in the Xcode 4 project settings. And while the value appears in the project SYMROOT build setting in 4, I'm unable to edit this setting there and have the edited value stick (it reverts when the pop-up editing window is dismissed).
This works for me. Have you clicked the Done button after the edit? You must commit the edit, having the popup removed by clicking elsewhere is basically a cancel of the edit.
> It appears that the project build settings would be the next inheritance level down from the the project settings (and the Xcode 4 prefs), but there must be another setting in-between or else Xcode 4 has a bug. As a work-around, I can open the project in 3 and remove the custom location setting, then re-specify it in 4 in the project SYMROOT build setting, but you shouldn't need to install Xcode 3 to migrate old projects to 4 if you've specified build locations like this. Btw,
>
I totally agree that such a setting, which can be very relevant, should not be dependent on a hidden pref. You should file a bug.
> For more background info, both the Xcode prefs and the project settings have "build location" specified as "in location specified by targets". I have two targets that should each build into custom locations, and each target has specific settings that inherit a base path from the project level (for example, $(SYMROOT)/a and $(SYMROOT)/b). This keeps the product name the same for each target, but keeps all the debug and release builds for each separate from one another and in a folder far away from where I store my source code.
>
> Anyone have any insight as to another location to edit this setting in Xcode 4?
>
> Thanks,
> Brock Brandenberg
You can use the 'defaults' tool. But of course that's a hack.
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