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: 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:
- Open Xcode
- Click Window -> Devices
- Delete ALL simulators (Right click on each one of them -> Delete) apart from the one you want to test your app on.
- Test the app by running it from Eclipse, i.e. Run As -> iOS Simulator App (iPhone).
- Add a new simulator by clicking + in the bottom left corner.
- 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