Touch Code Magazine

Posts about Swift, Apple, iOS, conferences, and more

Installing 4.3 iPhone Simulator in Xcode 4.2 (iOS5 SDK)

After having used all the betas of Xcode 4.2 and the iOS5 SDK I faced several problems when finally I downloaded the official Xcode 4.2 from the App Store. I wanted to anyways get rid of Xcode 3.x, 4.1 and so on (I kept them all installed around my hard drive) so I deleted and installed a fresh copy of Xcode 4.2 (btw I’m very pleased with the progress Apple made on Xcode’s stability and feature list).

However a fresh install of Xcode 4.2 comes with only a 5.0 iPhone and iPad Simulator. Luckily you can now pretty easy install also older version of the SDK. Just follow the easy steps below:

1. Simulator 5.0 only, but how to test whether your app is compatible with iOS 4.3?

2. Aha!, click on “More Simulators…”

3. Click “Install” on the row where it says “iOS 4.3 Simulator”

4. After the 4.3 Simulator is downloaded you’ll most probably see this alert (if you have the Simulator app already running)

5. Immediately after the install is done have a look at the list of available schemes in your project and …

That’s all – you can now test in both iOS 5.0 and iOS 4.3

All in all it’s about safe to support only 5.x when there’s a 5.1 release, by that time usually enough people have upgraded their devices (not counting the jail breakers of course, they update when there’s the relevant jail-break, but they are less likely to buy your app anyway…)

That’s it for today, more iOS5 posts to come.

If you are eager to speed start your iOS 5 development, check out this book “iOS5 by tutorials” me and the Ray Wenderlich’s iOS Tutorial team published a while ago: “iOS5 by Tutorials

Marin

Tagged under: , , , , , ,

Pin it

Marin Todorov is an independent iOS consultant and publisher with complimentary background in server and desktop development. He started developing on an Apple ][ more than 20 years ago and keeps rocking till today. Meanwhile he has worked in great companies like Monster Technologies and Native Instruments, has lived in 4 different countries, and (more recently) is one the founding memebers of the raywenderlich.com tutorial team. Besides crafting code, Marin also enjoys bloging, writing books, teaching and training others, and speaking at mobile conferences. He sometimes open sources his code. He walked the way to Santiago.

Website: http://www.touch-code-magazine.com

11 Comments

  1. Marin

    Dimitar – you can always have more than one version of Xcode on your mac, just install them in different folders. I always like to have the previous version, the current version, and the beta that is still not out yet – you just have to install them in separate places and have shortcuts to them

  2. Vlad

    I have used a wrong account (email) in the login dialog when trying to install iOS 4.3 Simulator. Now I see just a label with the wrong account in the Xcode->Preferences->Downloads->Components after every attempt. How can I change this login name (email)?

  3. Marin

    Hey Vlad, that never happened to me, but I guess if you install a fresh copy of Xcode would be ok (as a last resort of course)

  4. Vlad

    Marin, thanks for the reply. The dialog window looks like this (removed part of the email):

    http://i43.tinypic.com/20759ao.png

    And I need just to edit this field. It was editable just for the first time. No it is just a label.

  5. Pingback: iOS 5 SDK Tutorials | Best iPad Apps, Cases and Development

  6. Mr.AD

    Hi,

    My Internet ‘s home is very slow. How can I download manually via web browser, copy to home and install later ?

    Thanks !

  7. Ujtordai

    Hello

    I installed the 4.3 emulator and it does not show on the emulator selector.
    What could the problem?
    I selected “Close application and install” because my iOS 5 emulator was opened.

  8. Marin

    hey – that’s pretty normal. if both your deployment target and base sdk in your build settings are set to 5.0 then the 4.3 simulator won’t show up in the list because your project don’t support that iOS version! Marin

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Back to top