Twitter: raymondcamden


Address: Lafayette, LA, USA

Yes - you can develop Flash apps for iOS on Windows!

07-06-2011 8,021 views Mobile, Flex 8 Comments

I finally got my hands on an iPad2 (yes, the new job has perks) and today I decided to test out building a Flex Mobile application to the device. Others have described the steps in detail so I won't repeat that here, but I'll share how it went for me.

First off - I signed up for the iOS Developer Program this morning. Oddly I had to use a whole new login since my last login was tied to my Broadchoice job from a few years back. I saw nothing in the UI about changing your organization. I used it as an opportunity to dump my Google Apps email login and just switch to a new account. I did this around 10 or so this morning and it was done by 2. I had heard 24-48 hours so I was pretty surprised.

Next - I read Holly's blog post here: Flex/AIR for iOS Development Process Explained!. She does a darn good job. I still had a bit of confusion in some place but to be honest I skipped all the tutorials on Apple's site and I tend to skim as well. The biggest I issue I had was in creating a p12 file. Flash Builder will actually link you to a page that talks about it but I found that page to not be helpful at all. Instead this article - Using Flash Builder 4.5 to package applications for Apple iOS devices - helped me get over that hump.

Then I simply exported a release build. This process takes a few minutes on Windows, but once done you have an IPA file. Drag that into iTunes and voila - it works.

Here is my app on the iPad2 desktop (I didn't specify a custom icon)

And here is the app actually running (and no - my app doesn't actually do anything)

Sorry for the awful pictures, but I mainly wanted to prove that it does indeed work. All in all the process took me about an hour. Next time will be significantly shorter now that I know what I'm doing.

8 Comments

These comments will soon be imported into Disqus. To add a comment, use Disqus above.
  • Commented on 07-06-2011 at 5:38 PM
    Little clarification. You can dev on Windows, no problem.
    But to upload the final binary to the AppStore, you will need a Mac. Or at least a Snow Leopard VM that has Application Uploader on it. That's the only step where you need a Mac system.

    Fabien
  • jfrobishow #
    Commented on 07-06-2011 at 9:06 PM
    @Fabien,

    Wow really? That's a pretty big hurdle! No web interface/workaround.
  • Commented on 07-06-2011 at 10:54 PM
    That seems dumb. I've got a Mac desktop, bit old, but it's got SL on it I believe. To be honest, I don't know if any of my apps are iPad ready. I'd kind of like to put Hangman there.
  • Commented on 07-06-2011 at 11:03 PM
    Was this supports all ios version of iPhone or available only above iOS 4.0?
  • Commented on 07-07-2011 at 1:56 AM
    @jfrobishow no, the only workaround is a mac VM. Apple made it that way like a yea ago already.
    Supports iOS 4 and superior
  • Commented on 07-07-2011 at 4:01 AM
    @Pritesh: No... only iPhone 3GS, iPhone 4, iPad 1, iPad 2 and iPod Touch 3th & 4th generation. On top of that you need iOS 4.2
  • Commented on 08-22-2011 at 10:33 AM
    Correction, you don't need a Mac to upload the final binary, you need the Mac OS X. I've known a number of people who handle this final step by running OS X in virtualization, using VMWare on a Windows machine.
  • Commented on 08-22-2011 at 10:37 AM
    Thanks for that clarification Matt!