使用iOS 4.0 SDK和设备开发iOS 3.1应用程序? [英] Developing an iOS 3.1 application with iOS 4.0 SDK and device?

查看:108
本文介绍了使用iOS 4.0 SDK和设备开发iOS 3.1应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为iOS部署目标3.2开发了一个iPhone应用程序.

但是我的客户改变了主意,希望该应用程序可用于iOS 3.1. 因此,我将iOS部署目标3.1设置为3.1,并将基本SDK设置为4.0,但是一切都可以正常编译,但是我确定我仅使用iOS 3.2中引入的方法和类.

如何识别无法在3.1设备上运行的代码? (并可能导致应用程序崩溃)

我的问题是我只有一个iPhone设备(已安装4.0.2),并且Xcode不再提供SDK 3.1.x.

解决方案

好,这可能对您有帮助:安装旧的xcode& sdk平行于新的.可以在以下位置找到旧版SDK的链接: http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html

希望,这就是您想要的.

I've developed an iPhone application for an iOS Deployment Target 3.2.

But my client changed his mind and would like the app to be available for iOS 3.1. Thus, i've set iOS Deployment Target 3.1 and left base SDK to 4.0 but everything compiles fine whereas I'm sure I use methods and classes introduced in iOS 3.2 only.

How can I identify my code that won't run on a 3.1 device ? (and may cause an application crash)

My problem is that I have a single iPhone device (with 4.0.2 installed) and that SDK 3.1.x are not provided by Xcode anymore.

解决方案

Henry, this might help you: install the old xcode & sdk parallel to the new one. Links to the old SDKs can be found here: http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html

hope, that was what you wanted.

这篇关于使用iOS 4.0 SDK和设备开发iOS 3.1应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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