Skip navigation
ghelton
Currently Being Moderated

Run/Debug on a device with Flash Builder 4.7 on OSX 10.9 (Mavericks) and iOS7

Jun 18, 2013 9:50 AM

Tags: #problem #air #error #flash_builder #iphone #mobile #bug #ios #actionscript #mobile_project #4.7 #flash_builder_4.7

I am having trouble launching my Actionscript Mobile Project on a device which has iOS7 installed. It recieved this error.

 

Error occurred while installing the application:
Invalid <device> specified

 

 

I can still deploy to my other device with iOS6, I'm running FB4.7 and OSX 10.9. Has anyone else seen this?

 
Replies
  • Currently Being Moderated
    Jun 18, 2013 4:57 PM   in reply to ghelton

    Hey ghelton,

     

    This may or may not help your cause but I can safely say that I have the same setup you've mentioned and can deploy to iPad Mini 6.1 and iPhone 5 7.0 without any issues after rolling back my Java version to 1.6.

     

    Have you got the latest iTunes installed so that you can view your iOS 7 device in it without any issues?

     

    If you have Xcode, can you see your device in the Organiser and if so, it's not greyed out?

     

    Have you allowed System Events in the Security & Privacy > Privacy > Accesssibility section in System Preferences?

     

    Hope that helps,

    O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 2:06 AM   in reply to ghelton

    No problem glad that worked for you, could you mark that reply as the answer?

     

    For anyone else reading this, if you encounter any problems at all when attempting to debug to an external device via Flash Builder or Flash Pro on OS X 10.9 you will need to enable System Events.

     

    Prior to 10.9, so in mountain lion and below, was an feature called assistive devices. This option in 10.9 has been removed, there is a new feature that contains the ability to enable assistive devices but has un-helpfully been place in Accessibility and renamed to System Events.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2013 3:06 AM   in reply to ghelton

    Hmm that doesn't sound good at all. Sounds like there is something up with your Java if the heap is being corrupted, just from the first looks of that error message.

     

    Just a thought, have a go at increasing your XMX if you havent already.

     

    Applications > Flash Builder 4.7 > Flash Builder 4.7.app > Contents > MacOS > AdobeFlashBuilder.ini

     

    Change the xmx to something higher but within reason, I've had mine set at 2048 for about 6 months without any heap errors.

     

    ---

     

    Other than that I would suggest that everything needs a clean. During my installation of Mavericks I had to re-install Flash Builder because it wouldn't start. While your at it see if you can give the Java installation a clean too.

     

    O.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2013 12:53 PM   in reply to ghelton

    I guess this is the ulitmate price for using BETA software, the only thing I can think of now is that your System Events option has been turned off somehow. Hopefully with the public versions of 3.8, iOS 7 and Mavericks these issues will be sorted.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 18, 2013 5:52 PM   in reply to ghelton

    Hi guys.

    Just saw that with Fast Build on device in Flash Builder 4.7 the app builds at the first time. But if i pause/resign the app and then activate it again the app does not trace anything to the output of FB 4.7. I'm using 3.8 AIR. And IOS 7 for Iphone 5.

     

    I saw also that if i recompile it again in fast build it will lose the device... (the can't find device error/alert) or the app will not install inside IOS7.

     

    But if i try to compile install the app in Standard mode then everything is good.

     

    Any solutions for fast build?

     

    Cheers.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 18, 2013 6:03 PM   in reply to eduardomcrodrigues

    Strange one edu...im not typing that whole name =)

     

    I haven't come across this issue before, are you on Mavericks?

     

    For what it's worth I'm using FB4.7, AIR 3.9 beta, iOS 7 iPhone5/iPad Mini, Mountain Lion...everything is a clean install and I can do what you're trying to do without the console diconnecting.

     

    All I can personally say is that, I was having weird issues with iOS7 and also with Mavericks. So i wiped the machine, wiped the devices, installed java1.6, FB and AIR then everything worked a dream.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 19, 2013 12:42 AM   in reply to ghelton

    i am getting same error  in windows machine. does any one know solution

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 23, 2013 12:17 PM   in reply to rkbit

    I had this issue today on my Windows 7 machine. Been developing for iOS for 2 years and I've never had this issue before I upgraded to iOS 7. I seem to have resolved it, but I'm not sure exactly what did it. Here's the steps I took:

     

    1) Open iTunes and make sure you update to the latest version

    2) In the apps section of your library (not the device you have plugged in), drop in your ipa file.

    3) On the device app screen, click "Install" next to the app you just dropped in.

    4) Sync so the app gets installed on your device.

     

    At this point my app opened just fine. I then did a standard build debug through FB and it installed on my phone just fine as well. I then tried a fast build and it was all working again. I think, for whatever reason, the app needed to be on my device before it would install through FB. Hope this works for you as well.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2013 12:01 PM   in reply to Colin Childs

    Hi

     

    Thanks for deatils Steps. I followed Steps , but still have  issue.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 30, 2013 1:58 PM   in reply to rkbit

    I have had this problem repeatedly in the last week or so and those steps fixed it for me. Try unplugging your device, deleting the app, restarting flash builder, plugging your device back in, then following those steps again.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 15, 2013 11:06 PM   in reply to Ollie Edge

    Hi,

     

    The same issue is with me. But I am having Windows 7 OS and Adobe Flash Builder 4.7.

    Please help for this.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 23, 2013 1:22 PM   in reply to rkbit

    I was getting the same error and couldn't install from Flash Builder to iPad or debug on the iPad, using OS 10.8. adt showed the iPad connected. What seems to have fixed the problem is opening XCode (5) and selecting the iPad in Window/Organizer/Devices. If I keep XCode open in the background Flash Builder will install/uninstall apps and the debugger now connects to the running app. 

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2013 8:35 AM   in reply to ghelton

    I disconnected the device, tested. No device found. Connected. Refreshed the list: device found. But still no debug, just like described above.

     

    However: a simple restart of Flash Builder resolved the connection issues twice.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points