Alex Rivera | Logout

The selected run destination is not valid for this action

Asked 2011-03-15T23:25:20.500
111

I have opened a project that has always been iphone/ipad. I can't build it now because for some reason my only "Scheme" option is "MyApp My Mac 64-bit". How can I get this set back to iphone/ipad simulator and devices? My "Targeted Device Family" setting is iPhone/iPad.

Edit
Report

3 Answers

3

I have the same problem, it appears that you also made the jump with the new Xcode 4 upgrade and this appears to be a code incompatibility.

If you want to keep it for IOS (Iphone / Imac ) edit Scheme [Product/Edit Scheme/ Build/ build => Destination drop down list.

Make sure you have installed the Ios SDK before running Xcode.

Elsewhere if you have to compile the same app for the Mac, I'd like also to know the answer as this generate the same errors as you.

answered 2011-03-17T09:30:52.017
1

Deployment target is missing for specified SDK ...

Choose other "Deployment Target" (in the Build settings) and simulator will appear.

Note:It's happening when use 5.1 SDK(latest) with XCode 4 on Snow Leopard..

answered 2012-07-07T17:42:40.837
0

Tried the rest of these with no joy.

AFIAK this is a version control problem, in general not just a Git problem!

I gave a colleague a copy of a project that had modified files in it and this problem occurred.

However when I committed/updated the repo and gave him fresh copy.

This problem was fixed!

answered 2011-10-13T09:47:18.693

Your Answer