Andrew
Andrew

Reputation: 176

Xcode 5 does not see devices with ios 6.1.3

I see my device in organizer with a green dot. But I can't run my project, because there is no iOS 6 device in destination menu.

With ios7 everything is ok.

Upvotes: 4

Views: 5426

Answers (1)

Jordan Montel
Jordan Montel

Reputation: 8247

You can use the iOS 6 SDK on XCode 5.

For that you need to have XCode 4 and XCode 5 on your Mac.

1/ In terminal :

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

2/ Create a symbolic link in this folder to the older SDK for example for me :

sudo ln -s /Applications/Xcode4/Xcode4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk ./iPhoneOS6.1.sdk

3/ Go to the Project settings and chose your SDK

enter image description here

4/ Do only that for iPhoneOS. The support for the simulator need to be done from the XCode Preference menu

enter image description here

++

Upvotes: 4

Related Questions