• 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: Using agvtool's generated version info file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using agvtool's generated version info file?


  • Subject: Re: Using agvtool's generated version info file?
  • From: Christiaan Hofman <email@hidden>
  • Date: Mon, 16 Aug 2010 12:03:17 +0200

On Aug 16, 2010, at 11:47, Nicholas Helke wrote:

> Hi!
>
>
> I'm relatively new to agvtool. I've got everything working the way I want, except:
>
> I'm trying to figure out how best to include the generated VERSION_INFO_FILE (Located at build/$(PRODUCT_NAME).build/$(ACTIVE_CONFIGURATION)/$(PRODUCT_NAME).build/DerivedSources/$(PRODUCT_NAME)_vers.c) in my Xcode project so I can access the two constants it sets.
>
>
> Nicholas Helke

You should never have to access that file explicitly, Apple's code does that implicitly. If you need the version number in your code you should get it from the info dictionary from the mainBundle.

Christiaan


 _______________________________________________
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: 
 >Using agvtool's generated version info file? (From: Nicholas Helke <email@hidden>)

  • Prev by Date: Using agvtool's generated version info file?
  • Next by Date: Re: Using agvtool's generated version info file?
  • Previous by thread: Using agvtool's generated version info file?
  • Next by thread: Re: Using agvtool's generated version info file?
  • Index(es):
    • Date
    • Thread