Re: storing git version in the plist
Re: storing git version in the plist
- Subject: Re: storing git version in the plist
- From: Jens Alfke <email@hidden>
- Date: Tue, 04 Dec 2012 17:45:19 -0800
On Dec 4, 2012, at 12:55 PM, Joel Reymont < email@hidden> wrote: I think Xcode is being too smart here and not building my Versioning target since nothing changed in it. Is there a way to force Xcode to always build a target?
This seems like a feature to me :)
Why not just have a Git hook that generates a file with the current revision’s ID in it, then have the build system incorporate the value from that file into the plist? If that generated file is treated as a dependency by Xcode, then it’ll rebuild any time it’s been changed.
—Jens |
_______________________________________________
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