8 Replies Latest reply: Oct 27, 2014 6:52 AM by aminefraj RSS

    Can't Debug from Flash to iOS Simulator

    builder623 Community Member

      Hello,

       

          Using AIR Beta 15 (302) and Flash Professional 2014, Flash throws the error "Unable to install the application on iOS Simulator"

       

      The SDK path is set to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk

       

      I am using by Development profile and selected Debug Mode......

       

      Thanks for any help you can give.

       

      Craig

        • 1. Re: Can't Debug from Flash to iOS Simulator
          builder623 Community Member

          I have been trying the command line approach but keep getting this error in terminal when I try to to install...

           

          Application architecture is not supported on iOS simulator.

           

          Here is the code I use

           

          /Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt  -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk -device ios-simulator -package StaffWars.ipa

          • 2. Re: Can't Debug from Flash to iOS Simulator
            Colin Holgate CommunityMVP

            What was your build line like? Is it as described here?:

             

            Adobe AIR * Device simulation using the iOS Simulator

             

            As an aside, you don't need to put the AIR folder into the Flash Pro folder. When you manage AIR SDKs from the Help menu you can point to the SDK in your Downloads folder. That way if you need to update Flash Pro, or reinstall it, the AIR 15 beta will be safe.

            • 3. Re: Can't Debug from Flash to iOS Simulator
              builder623 Community Member

              Here is my build line:

               

              /Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt  -package -target ipa-debug-interpreter-simulator -storetype pkcs12 -keystore Certificates.p12 -storepass <password> StaffWars.ipa StaffWars-app.xml StaffWars.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk/

              • 4. Re: Can't Debug from Flash to iOS Simulator
                builder623 Community Member

                I got this right form these forums (with exception to the path)

                 

                Package App :

                /Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt  -package -target ipa-debug-interpreter-simulator -storetype pkcs12 -keystore Certificates.p12 -storepass ******** StaffWars.ipa StaffWars-app.xml StaffWars.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk/

                 

                Install App :

                /Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt  -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk -device ios-simulator -package StaffWars.ipa

                 

                Here I get the error....  "Unable to install the application on iOS Simulator"

                 

                Launch App :

                /Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt  -launchApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator8.0.sdk -device ios-simulator -appid com.themusicinteractive.StaffWars

                 

                 

                Thanks

                • 5. Re: Can't Debug from Flash to iOS Simulator
                  builder623 Community Member

                  Does anyone else get this error?

                  • 6. Re: Can't Debug from Flash to iOS Simulator
                    Colin Holgate CommunityMVP

                    Yes, I do. I'm not able to test from other tools either, so I think it's a change in Xcode, but it would be nice if Flash could be fixed to work around the issue.

                    • 7. Re: Can't Debug from Flash to iOS Simulator
                      builder623 Community Member

                      So the command line approach doesn't work either.....

                      Just confirming so I don't spend anymore time.....

                       

                      Craig

                      • 8. Re: Can't Debug from Flash to iOS Simulator
                        aminefraj Community Member

                        Hello,

                         

                        Finally, i'm able to test on iOS simulator.

                         

                        I used this path & the last update Flash CC 2014 and last Air sdk version:

                        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator.sdk


                        U should change the name of the app for each test (in all fields) & run with intereptor mode.


                        Sorry for my english.


                        Hope i helped