Re: How to setup source trees before xcodebuild invocation
Re: How to setup source trees before xcodebuild invocation
- Subject: Re: How to setup source trees before xcodebuild invocation
- From: Chris Espinosa <email@hidden>
- Date: Mon, 15 Aug 2005 09:34:41 -0700
On Aug 15, 2005, at 9:18 AM, Sean McBride wrote:
I'm trying to make a shell script that will build my projects every
night.
The one problem is: source trees. I use several source trees to point
to 3rd party libraries. Said libraries are also kept in subversion.
So
my script is basically: svn checkout, run xcodebuild. But I want to
set
my source trees to the freshly checked out code. My projects have
several files referenced relative to source trees. If I don't change
the source trees before my build, they won't point to that night's
code.
Source trees are user preferences, so they're per-user global, not part
of the project. They're usually intended to point to the same place
all the time. So if you check out in the same place every time, once
you set the Xcode preferences everything should work.
Are you checking out in a different path every time?
If so, you could either use a source tree to a symlink, and write a new
symlink to the "current checkout" every time, ur use defaults write
com.apple.Xcode to set the source tree.
Chris
_______________________________________________
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