7 Replies Last post: Nov 4, 2013 12:49 PM by Tex-Twil  
Tex-Twil Newbie 89 posts since
May 17, 2011
Currently Being Moderated

Nov 1, 2013 4:56 PM

The run destination iPhone is not valid for Running the scheme

Hi,

I've installed a fresh copy of XCode and AppCode and when I try to build/run a HelloWord project, AppCode says

 

xcodebuild: error: The run destination iPhone is not valid for Running the scheme 'App'.

The scheme 'App' contains no buildables that can be built for the SDKs supported by the run destination iPhone. Make sure your targets all specify SDKs that are supported by this version of Xcode.

 

 

In XCode, the app builds/runs fine.

 

What did I do wrong ?

 

cheers

Dmitry Semeniouta Newbie 72 posts since
Dec 17, 2012
Currently Being Moderated
Nov 1, 2013 5:48 PM in response to: Tex-Twil
Re: The run destination iPhone is not valid for Running the scheme

Please check that default Xcode for your system is the lates one. You can check it in AppCode (Preferences | Xcode) or from Terminal (xcode-select --print-path). If it's not so change the current version in Terminal  (xcode-select --switch <path_to_Xcode>/Contents/Developer) and restart AppCode.

 

Another question - are you building for simulator or actual device?

Dmitry Semeniouta Newbie 72 posts since
Dec 17, 2012
Currently Being Moderated
Nov 1, 2013 6:58 PM in response to: Tex-Twil
Re: The run destination iPhone is not valid for Running the scheme

Could you please send the build log of your appication to appcode-support@jetbrains.com ? You can get the log by following the instructions from http://devnet.jetbrains.com/message/5501138#5501138

Dmitry Semeniouta Newbie 72 posts since
Dec 17, 2012
Currently Being Moderated
Nov 1, 2013 8:22 PM in response to: Tex-Twil
Re: The run destination iPhone is not valid for Running the scheme

Thanks. Will try to figure out what's happening.

Dmitry Semeniouta Newbie 72 posts since
Dec 17, 2012
Currently Being Moderated
Nov 1, 2013 8:47 PM in response to: Tex-Twil
Re: The run destination iPhone is not valid for Running the scheme

Please provide us AppCode's environment information.

 

For this follow AppCode | About AppCode in the main menu. After About window is opened press Cmd+C and then just paste the information here (or send it to appcode-support@jetbrains.com) without license part.

 

Thanks.

More Like This

  • Retrieving data ...