Re: detecting and acting on xcode version in proj file?
Re: detecting and acting on xcode version in proj file?
- Subject: Re: detecting and acting on xcode version in proj file?
- From: Chris Hanson <email@hidden>
- Date: Tue, 26 Jan 2010 12:40:26 -0800
On Jan 26, 2010, at 8:05 AM, Derrick Brashear wrote:
> We have a piece of portable software we distribute which builds for
> any of 10.4, 10.5 or 10.6, with nominally any version of XCode. To
> support universal binaries, we did e.g.
> ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"
> however older versions of XCode don't set this. What I'm looking for
> is a way to set ARCHS to this if its supposed in my XCode, and
> otherwise ARCHS_STANDARD_32_BIT. My best idea involves hinging on
> XCode version, but I don't see how I'd do that.
If you open the project in the latest Xcode, Get Info on the project node itself in the Groups & Files hierarchy, and then set its compatibility to Xcode 2.5, the project file format will be downgraded to a version that will work with all of Xcode 2.5 and later - and which later versions of Xcode won’t automatically upgrade upon opening. Appropriate build settings will also be converted, such as the ARCHS build setting.
— Chris
_______________________________________________
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