Robovm – Testing app on iPhone 6 and other simulators

The updated version of my puzzle game, Ready Steady Teddy, has been rejected by Apple. It was really painful, because I had to wait nine days to learn this outcome. The reason? My app was crashing when a user clicked “Share” on iPad Air and iPhone 5s. Bloody hell.

To make matters worse two new iPhone 6 have been recently released. It has been reported that in some cases the graphics does not scale properly on iPhone 6 Plus – and yes, it turned out that the same happened to Ready Steady Teddy (however Apple checkers missed or ignored that). I don’t have access to iPad Air, iPhone 5s or 6 – the only devices I was able to test it on was iPad Mini and iPhone 4. Luckily, Apple provides simulators within Xcode which you can use for testing. Unfortunately, Robovm does not let you choose which one you want – your only options are iPad or iPhone: robovm In order to run other simulators I have tried the official instructions for Robovm  – unfortunately after trying a lot of different things mentioned there (installing the plugin, editing the properties file, creating the properties file in various places) I failed miserably. I had to find a workaround – the solution was easier than I thought:

  1. Open Xcode
  2. Click Window -> Devices

Devices

  1. Delete ALL simulators (Right click on each one of them -> Delete) apart from the one you want to test your app on.

Simulators

  1. Test the app by running it from Eclipse, i.e. Run As -> iOS Simulator App (iPhone).
  2. Add a new simulator by clicking + in the bottom left corner.
  3. Repeat steps 3 to 5 for other simulators.

Voila! It is a quick solution, however it has one drawback – every time you delete the simulator you lose its state (e.g. progress of your game or any settings). Have you found other solution that does not have this issue?


←Table of contents
←My apps, games and other projects

Advertisements
Robovm – Testing app on iPhone 6 and other simulators

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s