• 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
Problems using agvtool during build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems using agvtool during build


  • Subject: Problems using agvtool during build
  • From: Claus Broch <email@hidden>
  • Date: Tue, 15 Nov 2005 10:14:57 +0100

I want to automate my build procedure so the build number of the product is automatically incremented every time I do a release build. I have therefore added the following script phase to the target:

if [ "${CONFIGURATION}" = "Release" ] ; then
	cd "${SRCROOT}"
	/Developer/Tools/agvtool next-version
fi

However every time I build this from inside Xcode it is complaining that it can either not save the project due to some file locking problem or that the project has been changed externally. I know I could just do the build process from xcodebuild but then I would have to close down the project every time I wanted to do a build which is not really a time saver.

Any thoughts or ideas?

TIA
Claus
_______________________________________________
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: Problems using agvtool during build
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Xcode copying .h files to Package?
  • Next by Date: Re: XCode 2.2 internal error
  • Previous by thread: Re: xcPROJECTNAMExc_Prefix.pch
  • Next by thread: Re: Problems using agvtool during build
  • Index(es):
    • Date
    • Thread