Re: XCode default path type
Re: XCode default path type
- Subject: Re: XCode default path type
- From: Christiaan Hofman <email@hidden>
- Date: Sat, 7 Aug 2010 13:20:01 +0200
On Aug 7, 2010, at 12:54, Dan Hopwood wrote:
> I find when I create new files inside a project, the file type defaults to "Relative to XCode folder". This means that there are compilation errors if transferred to another computer with a different file structure. Is there any way to change the default to "Relative to Enclosing Group"?
>
> Many thanks in advance,
>
> Dan
I find that when I create new files in a project, it defaults to "Relative to Enclosing Group". When I add an existing file, it defaults to "Relative to Enclosing Group" when inside the project folder, and to "Relative to Project" when outside the project folder, though I can easily choose a different reference with the popup I get automatically when adding the file. I'm pretty sure you cannot change the default behavior. BTW, files in a project should always be in the file structure of the project folder, and when you copy a project you copy the whole project folder, so any relative reference that's properly set (no matter where it's relative to) would remain valid. Therefore if you get problems when transferring to another computer the fault is with the way YOU set up the project, the problem is not because of this default behavior (which always does the right thing in this respect).
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