• 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: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")


  • Subject: Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
  • From: Joar Wingfors <email@hidden>
  • Date: Thu, 24 Apr 2014 19:46:40 -0700

Hi Jens,

This is a known issue for projects that have both iOS and OS X targets.

Joar


On 24 apr 2014, at 07:40, Jens Alfke <email@hidden> wrote:

> The Xcode project I’m working with has gotten into a state where trying to run an individual unit test (by clicking the little icon in the left margin of the editor next to the test method’s first line) doesn’t work; Xcode pops up an error sheet:
> 	The run destination My Mac 64–bit is not valid for tests you have chosen to perform.
> Which makes no sense since this is a 64-bit Mac OS target, which builds and runs correctly. I can even run all the unit tests via Cmd-U, I just can’t run them individually.
>
> The project does have both Mac and iOS targets, each with its own associated unit-test target. The Mac target has this problem, while the iOS target still lets me run individual tests (in the simulator). I’ve looked at the target and scheme settings and the linkage between the code and test targets looks OK.
>
> It’s been like this for several days. I can’t get Xcode [5.1.1] out of this state; I’ve tried relaunching, Clean, Clean Build Folder…
> Any suggestions? Is this known or should I file a bug report?
>
> —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


 _______________________________________________
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: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
      • From: Jens Alfke <email@hidden>
References: 
 >Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...") (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
  • Next by Date: Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
  • Previous by thread: Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
  • Next by thread: Re: Can't run individual unit tests ("The run destination My Mac 64–bit is not valid...")
  • Index(es):
    • Date
    • Thread