Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 5.0.1 and iOS 5.1 simulator issue

After upgrading XCode to 5.0.1 on Mavericks I can't install iOS 5 simulator, it's removed from Download section... Is it only happening to me or does anyone else has similar issue?

enter image description here

Is it possible to install 5.1 simulator from outside of Xcode Downloads page?

like image 834
Bartek Avatar asked Oct 23 '13 11:10

Bartek


People also ask

Do I need Xcode for iOS simulator?

Launching the Simulator, though, always requires opening Xcode and going to Developer Tools. Because the Simulator. app is embedded within the Xcode app bundle, apps like LaunchBar won't find it to index it.

How do I enable simulator in Xcode?

Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.

How can you access iOS simulator in Xcode?

Do one of the following: Choose Xcode > Open Developer Tool > Simulator. Control-click the Xcode icon in the Dock, and from the shortcut menu, choose Open Developer Tool > Simulator.


3 Answers

Unfortunately, iOS Simulator 5.0 and 5.1 don't work on Mavericks. The reason for this is best explained by gparker on the developer forums (https://devforums.apple.com/message/911139#911139):

The iOS simulator does not duplicate some of the low-level parts of iOS. For example, it uses the host OS X's kernel instead of trying to virtualize the iOS kernel. The iOS simulator requires that these subsystems look sufficiently similar between the simulated iOS and the host OS X. When a new host OS X changes too much it can break old simulators. At that point somebody makes an engineering and cost decision to either update the old simulator or drop support for it.

Not the answer you and I were hoping to find. You could of course run Mountain Lion in Parallels for testing iOS 5.x.

like image 157
Rens Verhage Avatar answered Oct 16 '22 20:10

Rens Verhage


I face the same thing when I installed the XCode4.5. Then I copied the SDK from my old xcode to the new xcode. The SDK is located in the following path.

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk    /Applications/Xcode4.5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk 
like image 40
Ramaraj T Avatar answered Oct 16 '22 22:10

Ramaraj T


iOS Simulator 5.0/5.1 is available only on Mountain Lion. If you're running on Mavericks, you'll only see iOS 6.0/6.1/7.0. iOS5 Simulator on XCode5-GM

like image 35
digdoritos Avatar answered Oct 16 '22 21:10

digdoritos