• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to setup source trees before xcodebuild invocation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How to setup source trees before xcodebuild invocation
      • From: "Sean McBride" <email@hidden>
References: 
 >How to setup source trees before xcodebuild invocation (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: 19 minutes of linking - not any more
  • Next by Date: Re: How to setup source trees before xcodebuild invocation
  • Previous by thread: How to setup source trees before xcodebuild invocation
  • Next by thread: Re: How to setup source trees before xcodebuild invocation
  • Index(es):
    • Date
    • Thread