Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
361 views
in Technique[技术] by (71.8m points)

ios6 - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

++


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...