AppCode trying to use invalid iPhone SDK (can't run/debug anymore)

Yesterday I upgraded both XCode and AppCode to their latest versions.
Now I'm having issues trying to run/debug any of my apps via AppCode.

When I click to start the debugging or run I get the following output:

/Applications/AppCode.app/bin/simlauncher 5.0 debug 1 /private/var/folders/mn/7jph75h527n__2v2z8tqp0000000gn/T/___115842307884574021out /private/var/folders/mn/7jph75h527n__2v2z8tqp0000000gn/T/___7381029718500161694err /var/folders/mn/7jph75h527n__2v2z8tqp0000000gn/T/IPhoneSimulatorProcessHandler3568338730705577155env /Users/arin/Library/Caches/appCode10/DerivedData/ballish-3fcfaff8/Build/Products/Debug-iphonesimulator/ballish.app
Cannot find iPhone SDK 5.0.



Makes sense since I now have the 5.1 SDK.
How do I get AppCode to try to run using the 5.1 SDK?

In my run dialog I dont even see 5.1 as an option: http://cl.ly/3G1e2m3q193g0V0Q0M1J
Its not there in the defaults either.

How do I add an iPhone 5.1 simulator as a destination?
5 comments
Comment actions Permalink

I should note: everything's fine using XCode.
AppCode seems to have gone mad

0
Comment actions Permalink

Does the 'Destination' combobox in Xcode list 5.1 simulator?
Could you please show the screenshot of it?

Please also attach AppCode log file (Help->Reveal Log in Finder)

0
Comment actions Permalink

here's the combo box in xcode: http://cl.ly/1Y380X2b1S3h280A3T0s

idea log attached



Attachment(s):
idea.log.zip
0
Comment actions Permalink

Arin,

it looks like AppCode uses the old Xcode installed in '/Developer' folder (I guess the correct one is installed in /Applications/Xcode.app).
There is some issue with this installation that we will investigate.

To fix the issue, please run 'sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer' (correct the path if necessary).

Let us know if it helps.

0
Comment actions Permalink

oh, great catch!
didnt realize the Xcode's location moved with 4.3

that 100% worked,. thanks buddy

0

Please sign in to leave a comment.