If you think you just have to run a couples of command-line instructions to make things work, you are wrong.
Having both these tools installed on your computer – which should be a Mac since XCode is not available on Windows machines – is the best way to have complete control of your settings, but has the drawback of having to deal with updates, virtual devices, and a series of things which can be avoided with cloud compiling.
Cocoon.io shouts on its home page you can do it in one click, becaise it provides all the tools and services to build awesome native HTML5 apps and games with a simple workflow and all the power of Cordova.
I tried the service and… they are right. This is the project page of Ladderz, the game with the available source code at this page.
The same game which you can find where I give the source code has been zipped and uploaded to Cocoon.io, and after a couple of minutes I got the
.ipa files ready to be published on their respective stores.
Providing a complete step by step tutorial about the process of conversion is beyond the scope of this post and will be analyzed during next posts, because I want to jump straight to the main question people ask when dealing with HTML5 and mobile phones. PERFORMANCES, PLEASE.
The developer app is a mobile native app to ease the development and debugging process of a Cocoon project. This application is created in the project settings and it will have the same configuration as the project has at that very moment: plugins, icons and splashes and preferences. It will allow the developer to test the source under the same circumstances the final compilation would use.
I used Cocoon.io for the porting of Ladderz for both Android and iOS devices and I was able to compile them and add one plugin in a matter of minutes. It took me more time to take the screenshot when it came the time to submit the game to the stores – I am serious.
I made everything on an ordinary Windows computer with no kind of any SDK installed, thanks to the power of cloud compiling.
Obviously this comes with a price.
I am using the free plan which allowed me to completely manage Ladderz game – with plugins if needed – and lets me have two projects simultaneously… this means you can delete your old projects (which you can create again if needed) to make room for new projects, this way the real limitation would br the 50MB max project size, which can be raised to 250MB – with 10 projects simultaneously – for as low as $8/month, which is the plan I recommend to start with.
Well, that’s all at the moment, I found Cocoon.io useful, got my app published and everything worked like a charm, so give it a try and let me hear your thougts.