0

I just upgraded Xcode, but now I don't have any 3.x SDK for Simulator. How do I add it for testing purposes?

ma11hew28
  • 121,420
  • 116
  • 450
  • 651

3 Answers3

1

You can try using old versions of XCode (with previous simulators) but the most reliable one is using a device. The iPhone1's latest OS version is 3.1.3. I'm sure you can pick one pretty cheap on eBay or similar.

You will also need to make sure that you drop the minimum OS version to 3.0.

Paul Ardeleanu
  • 6,620
  • 2
  • 40
  • 41
  • 1. Is it possible to just download the SDK 3.x and install it into the latest version of Xcode (which I currently have installed) instead of downloading an older version of Xcode? 2. If I get the device, will I be able to test `NSURLConnection` on it w/o an AT&T contract? – ma11hew28 Dec 20 '10 at 19:30
  • 1
    1) No. 2) You can use any older device with WiFi. – Kendall Helmstetter Gelner Dec 20 '10 at 19:55
0

You can goto Project->Edit Project Settings, and from there edit the "Base SDK" to what ever version you have. From here when you build and run you should be running whatever sdk simulator or device you picked.

Matt
  • 1,265
  • 1
  • 16
  • 24
0

http://cocoawithlove.com/2010/07/tips-tricks-for-conditional-ios3-ios32.html

This will show you how to install older version of xcode to run iphone simulatr pre-4.0.

Sean S Lee
  • 1,274
  • 9
  • 24