如何在Xcode 4.5中添加旧版iOS SDK [英] How can I add older version of iOS SDK in Xcode 4.5

查看:109
本文介绍了如何在Xcode 4.5中添加旧版iOS SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里复制了iOS 5.1 SDK:

I copied the iOS 5.1 SDK here:


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

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

但是,我仍然无法在Xcode中选择基本SDK。
有人可以帮忙吗?

But, I still can't choose the base SDK in Xcode. Can anybody help?

推荐答案

你需要将iPhoneOS5.1.sdk复制到目录

You need to copy the iPhoneOS5.1.sdk to the directory

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk

和iPhoneSimulator5.1.sdk到

and iPhoneSimulator5.1.sdk to

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk

(您需要重新启动Xcode才能在Base SDK构建选项中选择SDK。)

(You'll need to restart Xcode to be able to select the SDKs in the Base SDK build option.)

这篇关于如何在Xcode 4.5中添加旧版iOS SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆