Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 13 and AIR SDK finds but does not connect to the device #112

Open
myflashlab opened this issue Sep 21, 2019 · 14 comments

Comments

@myflashlab
Copy link

commented Sep 21, 2019

It seems like if your device is updated to iOS 13, the AIR SDK can't connect to the device. So intelliJ can't install the .ipa on the connected device.

I tested xcode 11 and it does find the device and install apps on it like before.

I also tested via commandline:

  1. connect your iPhone to your Mac then run:
adt -devices -platform ios

it correctly finds the device:

List of attached devices:
Handle	DeviceClass	DeviceUUID					DeviceName
   4	iPhone  	xxxxxxxxxxxxxx      Hadi Tavakoli’s iPhone

Then I tried to install an .ipa file:

adt -installApp -platform ios -device 4 -package "Main.ipa"

but I see the error Error connecting to your device! which is exactly the same error I saw on the intelliJ IDEA.

I hope this is an easy fix as iOS 13 is already out there :)

@tuarua

This comment has been minimized.

Copy link

commented Sep 24, 2019

Raised same here.
#86

@divlaine

This comment has been minimized.

Copy link

commented Sep 27, 2019

have the same problems but with flash develop. With ios 12 it works with ios13 not

@ajwfrost

This comment has been minimized.

Copy link
Collaborator

commented Sep 27, 2019

Hi all

We're aware of this one, and are looking into it, hope to have a fix pushed out before too long. I believe it's possible to download the apps via an old version of iTunes, or via Xcode, as a temporary workaround..

thanks

@d-angelovski

This comment has been minimized.

Copy link

commented Oct 2, 2019

Flash builder has also issues with this.

There is also this: https://tracker.adobe.com/#/view/AIR-4198872

@divlaine

This comment has been minimized.

@duxpel

This comment has been minimized.

Copy link

commented Oct 10, 2019

Hi @ajwfrost
We continue with this error, are we missing something?

Release Notes (Version 33.0.2.281)
...
3.1.2 Build Tools
The iIPA tool has been updated so that it can connect to and deploy applications onto devices running iOS/iPadOS version 13 (Gamua-112).
...

-package and -devices work perfectly as previously. Instead -install command returns the same error Error connecting to your device! . We have tested with adt.bat and with iIPA.exe of your last release (33.0.2.281) but we can't install the application on the device.

Tested from a Win10 64bits system.
iPhone 6S (iOS 13.1.2)

Thanks in advance!
issue_112

@ajwfrost

This comment has been minimized.

Copy link
Collaborator

commented Oct 10, 2019

Okay thanks - looks like something has gone wrong in our source code control process, as the binary that was checked in turns out to have been built from the old source code.. not quite sure how that happened, sorry! The "iIPA" binary on the Mac releases seems to be correctly built from the updated source code..

So, to get the updated exe for Windows in the short term, we've just uploaded this as a standalone file that you can download from https://airsdk.harman.com/assets/iIPA.zip

The zip is 49817 bytes, md5sum 4b37db10927afa3cf8ec2e901868e166; the executable within this is 99328 bytes, md5sum de65819acb7c8c4a5b52182e52504b36.

We'll make sure this gets added in properly to the next SDK release!

@duxpel

This comment has been minimized.

Copy link

commented Oct 10, 2019

@ajwfrost Thank you very much for your quick response!

I just tried the iIPA.exe you sent compressed in a zip file but it didn't work well for me...
Once the -install command is executed, jump to the next command line in less than two seconds without getting an error/success message. I have checked but the app is not installed on the device. Moreover, the behavior is the same when the value of the PATH_TO_IPA parameter is incorrect and non-existent. I attach a capture of the command line.
Thanks again for your help! :)

issue_112_v2

@lamselli

This comment has been minimized.

Copy link

commented Oct 10, 2019

Hi ! Doesn't seem to work for me either on Mac.
image
When you try to install, it directly ends with no return and the app is not installed on the device...

@tuarua

This comment has been minimized.

Copy link

commented Oct 10, 2019

seeing the same as @lamselli on macOS (using Catalina 10.15)
eg

./adt -installApp -platform ios -device 1 -package /bin-release/device/Example.ipa

@ajwfrost

This comment has been minimized.

Copy link
Collaborator

commented Oct 10, 2019

Hmm... this is a little strange, we'll take a deeper look, will update you soon

@ajwfrost

This comment has been minimized.

Copy link
Collaborator

commented Oct 10, 2019

Okay so it looks like there were still some deeper API changes within iOS13 which require some updates.. we have got past the first hurdle but there appears to be a final step which isn't working for us yet.

Is anyone willing to share an IPA with us, and for us to send them debug/instrumented versions of this executable file, so that we can try to eliminate the problems being something specific to our set-up? We sometimes find our development machines are a little unusually configured so it would be useful to have a second opinion; we've actually found that this is also failing for us using a third party utility (iMazing) so there may be something else wrong here..

Anyway, if you're able to help then please email to adobe.support@harman.com and I'll get to you tomorrow; Windows folk would be a little easier..

thanks

@duxpel

This comment has been minimized.

Copy link

commented Oct 10, 2019

Sure! I just sent you an email.

@ajwfrost

This comment has been minimized.

Copy link
Collaborator

commented Oct 11, 2019

With thanks to @duxpel , we have a way of doing this now. We need to get this properly updated as it's a very different mechanism to what Adobe had previously been doing here, and then we'll push out updates for Windows/MacOS versions.

Thanks for your patience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.