Add iOS support to fix the ActionScript compilation problem thoroughly.