Re: Version string for xcode itself
Re: Version string for xcode itself
- Subject: Re: Version string for xcode itself
- From: Doug Hill <email@hidden>
- Date: Mon, 01 Feb 2016 14:17:09 -0800
You can use a shell script to find this info:
xcodebuild -version
Or use the following environment variables during build time:
XCODE_PRODUCT_BUILD_VERSION 4B110
XCODE_VERSION_ACTUAL 0410
XCODE_VERSION_MAJOR 0400
XCODE_VERSION_MINOR 0410
Doug Hill On Feb 1, 2016, at 1:49 PM, Jonathan Taylor < email@hidden> wrote:
Can anybody tell me a compiler macro that will get me the version string of Xcode itself? My attempts to google this are getting swamped by things that are not what I am looking for.
I'd like to use this to provide information about the build environment with which the code was built, in addition to information about the version of my code that was being built (which I already have). Can anyone advise?
Cheers Jonny]
|
_______________________________________________
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