Re: Using agvtool's generated version info file?
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