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: Chris Lattner <email@hidden>
- Date: Wed, 18 Sep 2013 17:49:20 -0700
On Sep 18, 2013, at 4:33 PM, Jeffrey Walton <email@hidden> wrote:
> On Wed, Sep 18, 2013 at 7:20 PM, Jens Alfke <email@hidden> wrote:
>> So, it appears that an Xcode project can either support 64-bit iOS, or work in Xcode 4, but *not* both. This sucks.
>>
>> The problem is that, once you change an iOS target’s Architecture setting to “Standard architectures (including 64-bit)”, the internal value becomes “$(ARCHS_STANDARD_INCLUDING_64_BIT)”, but that environment variable isn’t defined in Xcode 4, so the value is treated as empty. And then you get a build error:
>>> No architectures to compile for (ARCHS=, VALID_ARCHS=armv7 armv7s).
> Is it possible to:
>
> $ export ARCHS_STANDARD_INCLUDING_64_BIT="armv7 armv7s"
> or
> $ export ARCHS="$VALID_ARCHS"; ARCHS_STANDARD_INCLUDING_64_BIT="$VALID_ARCHS"
> and then:
> $ /Applications/Xcode.app/Contents/MacOS/Xcode
> # (Ignore the Xcode underflow errors)
>
> How does one differentiate between 32/64 armv7{s}? Will it affect the
> way we build fat libraries from the command line?
The name of the new architecture is "arm64". You can include it in architecture lines just like armv7 and armv7s.
-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