My iphoneos 3.1 based application is not working on iOS 4 GM: the camera is not showing in full screen, it doesn't correctly detects compass information, the uiwebviews doesn't respond to touches (they don't scroll), and so on. It's completely broken! Now my question is: how can I develop an update using the latest xcode with support for ios 4? The latest iOS 4 xcode (3.2.3) doesn't provide any way to develop for iPhoneOS 3.x ("base sdk missing"). By the other side, xcode 3.2.2 would not allow me to debug it on a iOS 4 device, so I can't test it.
我基于iphoneos 3.1的应用程序不能在ios4 GM上运行:摄像头没有全屏显示,它不能正确检测指南针信息,uiwebview不响应触摸(它们不滚动),等等。完全打破了!现在我的问题是:如何使用最新的支持ios 4的xcode开发更新?最新的ios4 xcode(3.2.3)没有为iPhoneOS 3提供任何开发方法。x(“基地sdk失踪”)。另一方面,xcode 3.2.2不允许我在ios4设备上调试它,所以我无法测试它。
3 个解决方案
#1
2
In Xcode, you can use a later base SDK while targeting an earlier version.
在Xcode中,您可以使用较晚的基本SDK,同时针对较早的版本。
Go into your project settings and set iPhone OS Deployment Target to an earlier version, such as "iPhone OS 3.1".
进入项目设置,将iPhone OS部署目标设置为较早版本,如“iPhone OS 3.1”。
#2
0
I would create a second disk partition and install the 4.0 version of xcode on that. Keep the 3.2 version on your primary drive.
我将创建第二个磁盘分区,并在其上安装4.0版本的xcode。在主驱动器上保留3.2版本。
Its probably not necessary to create a second disk partition but it was simple to do.
可能不需要创建第二个磁盘分区,但是这样做很简单。
#3
0
Install the 4.0 sdk under a different folder and then re-install the 3.2 sdk and develop in that.
在不同的文件夹下安装4.0 sdk,然后重新安装3.2 sdk并在其中进行开发。
#1
2
In Xcode, you can use a later base SDK while targeting an earlier version.
在Xcode中,您可以使用较晚的基本SDK,同时针对较早的版本。
Go into your project settings and set iPhone OS Deployment Target to an earlier version, such as "iPhone OS 3.1".
进入项目设置,将iPhone OS部署目标设置为较早版本,如“iPhone OS 3.1”。
#2
0
I would create a second disk partition and install the 4.0 version of xcode on that. Keep the 3.2 version on your primary drive.
我将创建第二个磁盘分区,并在其上安装4.0版本的xcode。在主驱动器上保留3.2版本。
Its probably not necessary to create a second disk partition but it was simple to do.
可能不需要创建第二个磁盘分区,但是这样做很简单。
#3
0
Install the 4.0 sdk under a different folder and then re-install the 3.2 sdk and develop in that.
在不同的文件夹下安装4.0 sdk,然后重新安装3.2 sdk并在其中进行开发。