简体   繁体   English

无法从 xcode3 运行 iPhone3GS 模拟器

[英]Unable to run simulator for iPhone3GS from xcode3

I'm unable to run simulator for testing iPhone3GS below version of 4.0.我无法运行模拟器来测试低于 4.0 版本的 iPhone3GS。 I have built my app with xcode4 and now, I want to test it how it works in iPhone3GS.我已经用 xcode4 构建了我的应用程序,现在,我想测试它在 iPhone3GS 中的工作方式。 I have read that I should install previous version of xcode, so I have installed xcode3.我读过我应该安装以前版本的xcode,所以我安装了xcode3。 My IPHONEOS_DEPLOYMENT_TARGET is set to 3.1 in projects settings (xcode3).我的 IPHONEOS_DEPLOYMENT_TARGET 在项目设置 (xcode3) 中设置为 3.1。 But still I can't see any iphone versions below 4.0 in simulator select list.但我仍然在模拟器 select 列表中看不到任何低于 4.0 的 iphone 版本。 What am I missing?我错过了什么?

Well first of, the latest version of Xcode 3 only comes with the iOS 4.* SDK so there is no iOS 3 simulator.首先,最新版本的 Xcode 3 仅附带 iOS 4.* SDK 所以没有 Z1BDF60538082029 模拟器。

You will need to installe a version of Xcode 3 with iOS 3.* SDK to get the 3.* simulator, but you can only get them in de bundle version of Xcode. You will need to installe a version of Xcode 3 with iOS 3.* SDK to get the 3.* simulator, but you can only get them in de bundle version of Xcode.

What I do is test my apps on a device running iOS 3.1.2 with Xcode 4 and dropping support for iOS 3.* in new projects (94% of my user have switch to iOS 4). What I do is test my apps on a device running iOS 3.1.2 with Xcode 4 and dropping support for iOS 3.* in new projects (94% of my user have switch to iOS 4).

in this case you have to click the target section of the xcode and thre you have to chage the setting >build>latest ios.在这种情况下,您必须单击 xcode 的目标部分,然后您必须更改设置 >build>latest ios。

You can make and add hoc build and install it on an real device that run the desired os version.您可以制作和添加 hoc 构建并将其安装在运行所需操作系统版本的真实设备上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM