简体   繁体   English

iPhone模拟器3.0

[英]iPhone Simulator 3.0

Is it possible to test my app in the iPhone Simulator w/ the 3.0 SDK. 是否可以在带有3.0 SDK的iPhone Simulator中测试我的应用程序。 The only options that I currently have available are 3.2 (iPad) & 4.0 (iphone). 我目前唯一可用的选项是3.2(iPad)和4.0(iphone)。 I know I could buy a iPod Touch w/ 3.0 off eBay or something but I'd really like to avoid spending money if it's possible to get this working in the simulator. 我知道我可以从eBay上购买带3.0的iPod Touch或其他产品,但是如果有可能在模拟器中使用它,我真的想避免花钱。

http://developer.apple.com/iphone/library/documentation/xcode/conceptual/iphone_development/125-Using_iPhone_Simulator/iphone_simulator_application.html http://developer.apple.com/iphone/library/documentation/xcode/conceptual/iphone_development/125-Using_iPhone_Simulator/iphone_simulator_application.html

Important: iOS 4.0 uses the same Objective-C runtime as Mac OS X v10.6. 重要提示:iOS 4.0使用与Mac OS X v10.6相同的Objective-C运行时。 iOS 3.2 and earlier use the Mac OS X v10.5 Objective-C runtime. iOS 3.2和更早版本使用Mac OS X v10.5 Objective-C运行时。 Because of this change, binaries generated with an iPhone SDK distribution earlier than 4.0 do not run in the simulator that's part of the iPhone SDK 4.0 and later distributions. 由于此更改,使用iPhone SDK 4.0之前的版本生成的二进制文件无法在模拟器中运行,该模拟器是iPhone SDK 4.0和更高版本的一部分。 After moving from iPhone SDK 3.2 and earlier distributions to a 4.0 or later distribution, you must rebuild your iPhone Simulator binaries to run them in the simulator. 从iPhone SDK 3.2和更早版本发行到4.0或更高版本,您必须重建iPhone Simulator二进制文件才能在模拟器中运行它们。 If you use licensed static libraries in your application, you must obtain versions of them generated with an iPhone SDK 4.0 or later distribution. 如果在应用程序中使用许可的静态库,则必须获取使用iPhone SDK 4.0或更高发行版生成的静态库的版本。 For more information about the Objective-C runtime, see Objective-C Runtime Reference. 有关Objective-C运行时的更多信息,请参见Objective-C运行时参考。

One other option is to maintain an older copy of the SDK/Xcode on another Mac, and run the old SDK and Simulator there for regression testing. 另一种选择是在另一台Mac上维护SDK / Xcode的较旧副本,并在那里运行旧的SDK和Simulator进行回归测试。 But testing on a older device is the only way to test that an app can actually perform reasonably on such older devices. 但是,在较旧的设备上进行测试是测试应用程序在此类较旧的设备上能否实际正常运行的唯一方法。 Neither a new device nor the Simulator can do that. 新设备或模拟器都无法做到这一点。

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

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