• 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: Opening Old Projects in Xcode 4.3.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening Old Projects in Xcode 4.3.3


  • Subject: Re: Opening Old Projects in Xcode 4.3.3
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 25 Aug 2012 01:07:14 -0700

On Aug 24, 2012, at 10:12 PM, Brian Hughes <email@hidden> wrote:

However when I try to run it I get and alert that says:

The run destination My Mac 64-bit is not valid for Running the scheme 'LTN'.

The scheme 'LTN' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.

Here are my Architecture settings:

Debug: ARCHS = ppc

Release: ARCHS = ppc i386

This is the cause right here. When you “run” in Xcode 4, the typical action is actually “Run for Debugging.” For that scheme action, Xcode defaults to using your Debug configuration. Other scheme actions like Run for Profiling and Archive will use the Release configuration by default, and all of this is customizable in the Edit Scheme sheet.

First, change your “Architectures” build setting to “32-bit Intel” while you’re bringing your application up under modern tools and a modern SDK. Do this in both your Debug and Release configuration. This should result in only having a choice of “My Mac 32-bit” as your run destination, and your app should work when run.

Then, customize the “Build Active Architecture Only” build setting to Yes for just your Debug configuration, leave it at the default (No) for your Release configuration. This way, when you do start to convert your application to 64-bit, all you have to do is change your “Architectures” build setting to “Standard (32/64-bit Intel)” and Xcode will provide both “My Mac 32-bit” and “My Mac 64-bit” run destinations. Choosing one of them will result in only code for that destination being built while you’re debugging, but when you do things like Archive to publish your app to the App Store, the Release build will be generated for both architectures.

  -- 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

References: 
 >Opening Old Projects in Xcode 4.3.3 (From: Brian Hughes <email@hidden>)

  • Prev by Date: Opening Old Projects in Xcode 4.3.3
  • Next by Date: Codesigning for Gatekeeper on 10.8
  • Previous by thread: Opening Old Projects in Xcode 4.3.3
  • Next by thread: Codesigning for Gatekeeper on 10.8
  • Index(es):
    • Date
    • Thread