Xcode 5 does not see devices with ios 6.1.3

2019-01-15 15:35发布

问题:

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.

回答1:

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

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

++



标签: ios6 xcode5