Xcode 5 does not see devices with ios 6.1.3

2019-01-15 15:54发布

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.

标签: ios6 xcode5
1条回答
时光不老,我们不散
2楼-- · 2019-01-15 16:14

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

++

查看更多
登录 后发表回答