Re: Old Xcode default "Build" Directory & Time Machine
Re: Old Xcode default "Build" Directory & Time Machine
- Subject: Re: Old Xcode default "Build" Directory & Time Machine
- From: "Glenn L. Austin" <email@hidden>
- Date: Fri, 28 Feb 2014 07:32:24 -0800
On 2/24/14, 2:19 PM, Jerry Krinock wrote:
> I remember that, in Xcode 3, Preferences had a setting for your default “Build Directory”. I still use that directory for archiving non-Mac-App-Store builds with my own script, but Time Machine is not backing it up.
>
> I also remember that Time Machine had a “feature” of *not* backing up certain directories related to Xcode, so I’m thinking that’s the cause of this problem.
>
> My Xcode Preferences contain the following…
> IDEApplicationwideBuildSettings
> SYMROOT=$HOME/Documents/Programming/Builds
>
> And indeed that SYMROOT path is the one that I’m having trouble with.
>
> I presume that Xcode 5 would ignore this preference, and that I could solve my problem by deleting it. However, I'm worried about breaking something in the Xcode build system that I don’t understand. Any advice would be appreciated.
Xcode sets an xattr ("com.apple.XcodeGenerated") on any directories that
will be automatically re-generated when a build is run. Time Machine
honors that these directories are always re-created for a build, so they
don't need to be backed up.
If you want to keep your old built targets with Time Machine, you'll
have to explicitly move the built *files* outside of that directory
tree, as moving the directories themselves will keep that xattr on the
copy and the contents of those copied directories will not be backed up.
--
Glenn L. Austin, Computer Wizard and Race Car Driver <><
http://www.austin-soft.com/
_______________________________________________
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