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
请先登录再写评论。
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?
It points to the latest version "5.0.1 (5A2053)" in "/Applications/Xcode.app/Contents/Developer".
I'm building for the simulator
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
Here is the log
Attachment(s):
appcode.log.zip
Thanks. Will try to figure out what's happening.
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.
Hi,
I had this version
now I've updated to
and it works fine now.
thanks