• 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: storing git version in the plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >storing git version in the plist (From: Joel Reymont <email@hidden>)
 >Re: storing git version in the plist (From: Joel Reymont <email@hidden>)
 >Re: storing git version in the plist (From: Alexander von Below <email@hidden>)
 >Re: storing git version in the plist (From: Joel Reymont <email@hidden>)

  • Prev by Date: Re: storing git version in the plist
  • Next by Date: Arbitrary dependencies for targets?
  • Previous by thread: Re: storing git version in the plist
  • Next by thread: Re: storing git version in the plist
  • Index(es):
    • Date
    • Thread