Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running iPhone 5 Simulator on Snow Leopard

I am running the iOS6 SDK on my mac running Xcode 4.2 on Snow Leopard using steps from this Stack Overflow post.

I'm now trying to get the iPhone 4" screen to work. I have been able to get iOS 6 to show up in the iOS simulator under the Hardware > Version menu. When I try to load an iOS 6 device, I get the error: "The simulated application quit" - "Click Relaunch to try again". It then gives me an option to switch to a different SDK. If I choose iOS6, it again crashes. If I choose iOS 5, it loads correctly.

I also don't have an iPhone 4" screen option under the Hardware > Device menu.

I have copied the iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk folder from the Xcode Disk Image to my computer.

I'm not able to upgrade my computer past Snow Leopard.


So I need to be able to:

  1. load iOS 6 in the iOS Simulator
  2. load an iPhone 4" in the simulator
like image 885
Chris Avatar asked Sep 26 '12 13:09

Chris


People also ask

How do you add a simulator to Safari?

In the Safari on your Mac, on the Safari menu bar, choose the "Develop" menu. Scroll to the iOS Simulator option. Select the page for debugging.

How do I inspect XCode simulator in Safari?

You'll need to go to Settings > Advanced and check the Show Debug Menu option. Then you'll see the option to open the web inspector for the Simulator right from that menu. With the Web Inspector open, you can debug inside the Simulator just like you could right in a desktop browser with DevTools.


1 Answers

Problem is Xcode 4.5 on your mac.

The original post says how to run ios 5.1sdk on "Xcode 4.2 on Snow leopard".

Xcode 4.5 is not available on snowleopard.

Install Xcode 4.2 and follow the steps again.

like image 181
Moon Seongho Avatar answered Jan 20 '23 20:01

Moon Seongho