Xcode won't run my app; it runs fine from Finder.

I'm developing in Objective C with Xcode on a Mac exclusively to run on Mac and all of a sudden when I try to run I get the message: "a build only device cannot be used to run this target". If I go to the destination folder, the newly built app is there and runs from Finder, I just can't get it to run from within Xcode, which is inconvenient for testing.

What setting am I missing or has changed? Up to now I could build and run with no problem.

Answered by DTS Engineer in 867247022

Thanks for the post. Check the top bar and make sure you are running in the correct target so “MyMac”

Can you take a screenshot of the target?

thanks,

Albert Pascual
  Worldwide Developer Relations.

Thanks for the post. Check the top bar and make sure you are running in the correct target so “MyMac”

Can you take a screenshot of the target?

thanks,

Albert Pascual
  Worldwide Developer Relations.

Xcode won't run my app; it runs fine from Finder.
 
 
Q