• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 64-bit-compatible iOS targets don't build in Xcode 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Jeffrey Walton <email@hidden>
  • Date: Wed, 18 Sep 2013 19:33:58 -0400

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?

>
> (I’m kicking myself now for not leaping to try the 64-bit stuff last week right after it was announced at the iPhone 5s intro, but in my defense we were busy with trying to get a beta release of our own out the door and preparing for a conference. :-p And in any case, by the time we even knew about 64-bit support in iOS, Xcode 5 was basically GM already, giving us no chance to report issues with that. Yay again for Apple secrecy.)

Yeah, I've been bitten in the butt one too many times.

Jeff

 _______________________________________________
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


  • Follow-Ups:
    • Re: 64-bit-compatible iOS targets don't build in Xcode 4
      • From: Chris Lattner <email@hidden>
References: 
 >64-bit-compatible iOS targets don't build in Xcode 4 (From: Jens Alfke <email@hidden>)

  • Prev by Date: 64-bit-compatible iOS targets don't build in Xcode 4
  • Next by Date: Re: Verifying installation
  • Previous by thread: 64-bit-compatible iOS targets don't build in Xcode 4
  • Next by thread: Re: 64-bit-compatible iOS targets don't build in Xcode 4
  • Index(es):
    • Date
    • Thread