We have all been there.
It takes you less time to develop the app, because you are using Titanium and Alloy of course, than it does to setup your provisioning profiles and get your clients UDID. Yes, you even sent them that link to the app in the app store that will send you the UDID of their device.
Trust me I get it, it’s super frustrating. I think a good portion of the alcohol I have ever consumed was probably during provisioning. Ok, enough with the rant.
App.io to the rescue.
Maybe I have been on another planet but I found App.io the other night and it made my week, maybe even my month. App.io allows you to upload your iOS application, then send the link to whoever you want to allow testing right in the browser. No provisioning, no messing around. The longest part of this process is the upload.
Now, it is in a browser and I have to assume they are using some sort of VNC client so it’s a little laggy but it’s faster than viewing the app on a 3gs (tried it).
If you can’t tell, I am extremely impressed.
Using it with Titanium.
Using it with Titanium is a bit tricky because Titanium symlinks to your resource directory when you are running in the simulator. So we have to copy the app and be a little creative.
You can check out App.io’s Titanium documentation but I found it to be a bit weird (and by weird I mean it did not work for me).
The steps below are for a Mac. If you have Windows or Linux and want to adapt these steps for your OS I would be happy to update this post with more OS steps.
First off you will need to sign up for an App.io account.
- Build your app for the simulator like you normally would, either with TiStudio or the CLI
- Open your Terminal app.
- Navigate to your Titanium project folder – If you don’t know how to do this, you can drag your Titanium project folder onto the terminal app in your dock and it will open a new window with the prompt already in your project directory.
cd build/iphone/build/Debug-iphonesimulator/into the terminal.
tar -Lhcf temp.tar appname.appinto the terminal – Make sure to replace appname.app with your app’s name. If you don’t know what it is delete appname.app from the command prompt and hit tab. It should autofill with the correct file name.
mv temp.tar ~/Desktop/ && cd ~/Desktop/ && tar -xopf temp.tarinto the terminal.
zip -r appname.app.zip appname.appinto the terminal. Again make sure to replace appname.app with your app’s name. If you don’t know what it is delete appname.app from the command prompt and hit tab. It should autofill with the correct file name.
- Log into App.io.
- Click “New App” then click “Upload App”.
- Select the appname.app.zip file that we just created from your desktop and click open.
- Watch the magic, in a moment you will be viewing your app from a web browser.
Have you used App.io before? What do you think? Did these steps work for you? If not let me know so I can update them.