Re: 64-bit-compatible iOS targets don't build in Xcode 4
Re: 64-bit-compatible iOS targets don't build in Xcode 4
- Subject: Re: 64-bit-compatible iOS targets don't build in Xcode 4
- From: Jens Alfke <email@hidden>
- Date: Thu, 19 Sep 2013 08:05:11 -0700
On Sep 18, 2013, at 10:01 PM, Chris Hanson <email@hidden> wrote:
> ARCHS = ARCHS_$(XCODE_VERSION_MAJOR)
> ARCHS_0500 = $(ARCHS_STANDARD_INCLUDING_64_BIT)
> ARCHS_0400 = $(ARCHS_STANDARD)
So I’d add those to the “User-Defined” settings list at the bottom? (I’ve never done custom build settings before.)
I just had another idea — making the Architectures setting SDK-specific. That is, I pressed the little “+” button next to the Debug and Release sub-options and added ones for “iOS 7.0 SDK”; then mad those ones use 64-bit and the others just 32-bit. The effect in the project file is:
ARCHS = "$(ARCHS_STANDARD)";
"ARCHS[sdk=iphoneos7.0]" = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
It would be better to test for [sdk=iphoneos6.0] but Xcode’s UI doesn’t let me do that.
—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