Adobe AIR is great way to build application on iOS and apply to Android in a blink (yes, you still need sometime to adjust screen size and else), and also PC is cheapest way to build the app, let see what went wrong while developing 'til publishing to store.
Possible to develop iOS on PC?Yes! here's your choices.
- VMWare // geeky find proper installation step (try google for it), slow as hell, but fine to use for create certificate and upload binary ipa via Application Loader.
- UniBeast // super geek installation, you can break your computer in every step, but when it's done it just working just like pricy Mac.
Can app really be done with AIR?After distribute plenty of my clients app...I've to say yes! but keep in mind that...
- Must keep 60fps steady on desktop version as possible, you will get not much trouble when deploy to device.
- Must use Flash Builder profiler and/or Monocle to find what cause your app hang up.
- Must build and test via real device as much possible.
- ANE is best way to deal with anything that AIR can't do. only cons for ANE is fragmentation of iOS version and some ANE still require iOS SDK while build.
Do we need certificate?You obviously need it for distribution (yes, you can hack for development process certification, but don't ask me how, just paid for it dude) In my case is super fancy, my first development certificate is create via PC command line, distribution certificate via VMWare Lion and finally import both to UniBeast PC Mountain Lion, Don't follow me on this one ;p
- To get some just follow this guide : http://help.adobe.com/en_US/as3/iphone/WS789ea67d3e73a8b2-240138de1243a7725e7-8000.html
- Try understand work flow : http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/ios_development_workflow/10-Configuring_Development_and_Distribution_Assets/identities_and_devices.html
- Must back up your certificate, in some cloud to be save. // for PC .p12 with password should be enough, in Mac better export all at once save it somewhere.
- If your client need to publish as their company name do ask them to provide distribute certificated.
Can we do In-app purchase?Sure! for now you need ANE for that, good news is it's free! but...
- Must not use Jail broken device for testing. // i think this is undoc ;p
- Must include products before submit binary via App detail page. // this will waste your time for a month and also chance to get money if you miss this step because you have reupload binary and queue for review all over again! if it not appear then just upload binary -> reject it yourself -> edit button will appear behind In-app purchase topic -> check what product you will include via check box, yeah all sound weird but just work and don't ask me why just do it!
- Must remove any transaction in all case. // or you will get infinite loop yelling for "You've already purchased this but it hasn't been downloaded"
- Consumable product won't get reject while create product but Non-Consumable product will get reject if you binary didn't upload yet.
- Your product can get reject separately from Application reject, review process seem to be separated BTW.
My application rejected!do/don't : https://developer.apple.com/appstore/resources/approval/guidelines.html
- Must upload binary within 150 days after named your application, if not you will then be available for another developer to use.
- Must have offline mode for tester, especially if your app need Facebook, in short make any authentication as optional.
- If you target iPhone, your app must working via iPad3, iPad4 too! // woot! in my case my client didn't paid for iPad version but i still need to make it work or get reject!
- Must use developer name not client name. // my client didn't provide certificate for distribution, so i use client company name instead of my company then it conflicted and get reject.
- Must not refer to Android in all case. // even your app can use and/or communicate between iOS and Android, you just can't say it...wooooot!
- Comment on Resolution Center will get answer back after 3 days pass and usually nothing but kick you to Appeal page. // in my case i just can't wait for appeal process that i never know how long it gonna take, so i just fix #3 and re submit new binary
- Binary Review process took around 14 days usually, update version is vary 1 day for fastest record, and FYI that they also work weekend. // My app get reject on Sunday lol
- AIR 3.5 + Defaultfirstname.lastname@example.org 1136x640 will trigger iPhone5 compatible and you will need screenshot for that.
- Your app will list via iPad even you target iPhone.
- Your app will appear in search result around 24hrs after ready for sale state.
- Don't cry and/or angry when you get rejected, It didn't help and you will get use to it soon. ;)
- It's easier to take screen shot via Mac by Xcode via Organizer window.
- To track user behavior do try use https://developers.google.com/analytics/devguides/collection/other/flashTrackingSetupFlash#useAnalyticsLibrary
- To transfer file to/from device to/from PC/Mac i use iFunbox
- For free cloud hosting perfect for testing i use hostzilla
- For free private SVN hosting i use ProjectLocker
- For cats lover do try http://instagram.com/katopz
FYI : I will add some screenshot for each topic really later #fingercross ;p