1 Reply Latest reply on Nov 23, 2012 12:06 PM by teufteuf22

    IOS 6.0 simulator error / Flex+AIR 3.5

    teufteuf22 Level 1

      I am not able to run a Flex/AIR program on the IOS 6.0 simulator. I searched all forums. I am new to using IOS simulator. Any help is appreciated.


      I am using Flex 4.6 and AIR 3.5, with target swf version 18. A simple Flex app (WindowedApplication with a Label in it) crashes at initialization in IOS simulator.


      <?xml version="1.0"?>





        <s:Label text="Test"/>




      TypeError: Error #1009: Cannot access a property or method of a null object reference.

        at spark.components::WindowedApplication/initialize()

        at ptest/initialize()

        at mx.managers.systemClasses::ChildManager/childAdded()

        at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()

        at mx.managers::SystemManager/initializeTopLevelWindow()

        at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()  at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()

        at flash.events::EventDispatcher/dispatchEventFunction()

        at flash.events::EventDispatcher/dispatchEvent()

        at mx.preloaders::Preloader/timerHandler()