Search code examples
iosobjective-cxcodeios-simulator

Xcode Simulator Alternative


Xcode Simulators are painfully slow.

I'm making a universal app. I have an iPhone 5 and an iPad which I'm using to test my game on.

As screen sizes differ I want to check my app on a variety of devices, but the Xcode simulator is basically unusable.

Is there a way of using my iPad to simulate a different screen size?

In my ViewController I set up the scene like this:

SKScene *scene = [GameScene sceneWithSize:skView.bounds.size];

I tried using something like this instead:

SKScene *scene = [GameScene sceneWithSize:CGSizeMake(568,320)];

Was hoping this would set my scene size to iPhone5's dimensions and display it on my iPad. Kinda how an iPhone app opens on iPad (like Instagram's app).


Solution

  • If you want to run your app on iPad as an iPhone app, set the Devices value in Deployment Info section in target's General tab to iPhone. I assume it's Universal now. enter image description here