airsdk / Adobe-Runtime-Support

Report, track and discuss issues in Adobe AIR. Monitored by Adobe - and HARMAN - and maintained by the AIR community.
204 stars 11 forks source link

itunes mobiledevice library not found... #743

Open alpoman opened 3 years ago

alpoman commented 3 years ago

air sdk 33.1.1.406 adobe animate 21.0.4 iphone6+ iphone 12 pro itunes 12.1.3.6 64 bit (for older video cards) and also latest itunes for windows 10 publishing ios air within abobe animate I have 10+ years publishing apps to apple app store and google play

Hello, I have been using my old version of itunes(12.1.3.6 64 bit ) for years because any other version of itunes gives me the error ( itunes mobiledevice lbrary not found...etc. ) in adobe animate when I try to refresh my device from the menu (testing or debug is the same) This has worked well publishing apps for years using my iphone 6+ for testing, but my new iphone 12 needs a newer version of itunes - and when I try that, I get the mobiledevice library not found error. and then my iphone 6 wont work either. I am able to completely uninstall itunes(and all the stuff that comes with it) and re-install the old version 12.1.3.6 64bit and get my iphone 6+(ios 12.5) back, but cant test any new version of ios (14.4) on iphone 12

So my question is, does anyone know a fix for this? Does anybody publish apps in adobe animate, or am I missing something else? Why is adobe/air dependent on itunes to test an app in adobe animate? Any help would be greatly appreciated,

thanks again, Andrew

ajwfrost commented 3 years ago

Hi

We're using a third party library now to interact with the iOS devices (rather than working directly through the iTunes libraries) as we were finding one of the iTunes updates moved those libraries into private locations.. so the dependency shouldn't be there any more!

If you go into the lib\aot\bin\iOSBin folder of the SDK using a command-line console/terminal window, there's a binary there called ideviceinfo: can you please run that, and see whether this is able to see your device? There's also ideviceinstaller that can be used to push the IPA to the phone..

thanks

alpoman commented 3 years ago

Hi Andrew, Thanks for the quick response! It's good you are moving away from that itunes dependency - On my iphone 6+, the command works and gives a boatload of info on my device. On my 12pro, before I hit trust on my phone, I get - which i think is normal- ERROR: Could not connect to lockdownd: Pairing dialog response pending (-19)

then after I hit trust and wait a minute or so, I get ERROR: Could not connect to lockdownd: Missing HostID (-20)

Maybe this means something to you? btw, my app isnt certified for this device yet, so I'm not sure if that matters at this stage for mere detection. I'm going to redo my cert and add my new phone through apple in hope I can publish soon:)

let me know, and thank you so much!! Andrew Bell

On Sat, Mar 20, 2021 at 9:20 AM Andrew Frost @.***> wrote:

Hi

We're using a third party library now to interact with the iOS devices (rather than working directly through the iTunes libraries) as we were finding one of the iTunes updates moved those libraries into private locations.. so the dependency shouldn't be there any more!

If you go into the lib\aot\bin\iOSBin folder of the SDK using a command-line console/terminal window, there's a binary there called ideviceinfo: can you please run that, and see whether this is able to see your device? There's also ideviceinstaller that can be used to push the IPA to the phone..

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/743#issuecomment-803317931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUAGEKPYJGXMNAARV6PKNTTESOKJANCNFSM4ZP6GQGA .

alpoman commented 3 years ago

Oh, just tried on my new ipad standard version (ios 14.4) and get that same error as on the iphone 12 pro on 14.4. Maybe something with 14.4?

Andrew Bell

On Sat, Mar 20, 2021 at 10:14 AM andy bell @.***> wrote:

Hi Andrew, Thanks for the quick response! It's good you are moving away from that itunes dependency - On my iphone 6+, the command works and gives a boatload of info on my device. On my 12pro, before I hit trust on my phone, I get - which i think is normal- ERROR: Could not connect to lockdownd: Pairing dialog response pending (-19)

then after I hit trust and wait a minute or so, I get ERROR: Could not connect to lockdownd: Missing HostID (-20)

Maybe this means something to you? btw, my app isnt certified for this device yet, so I'm not sure if that matters at this stage for mere detection. I'm going to redo my cert and add my new phone through apple in hope I can publish soon:)

let me know, and thank you so much!! Andrew Bell

On Sat, Mar 20, 2021 at 9:20 AM Andrew Frost @.***> wrote:

Hi

We're using a third party library now to interact with the iOS devices (rather than working directly through the iTunes libraries) as we were finding one of the iTunes updates moved those libraries into private locations.. so the dependency shouldn't be there any more!

If you go into the lib\aot\bin\iOSBin folder of the SDK using a command-line console/terminal window, there's a binary there called ideviceinfo: can you please run that, and see whether this is able to see your device? There's also ideviceinstaller that can be used to push the IPA to the phone..

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/743#issuecomment-803317931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUAGEKPYJGXMNAARV6PKNTTESOKJANCNFSM4ZP6GQGA .

ajwfrost commented 3 years ago

I'm on Windows 10 with my iPhone at 14.4 and ideviceinfo.exe is working:

ProductName: iPhone OS
ProductType: iPhone8,1
ProductVersion: 14.4

When you get that Missing HostID error, is this with a particular version of iTunes installed? I have 12.11.0.26 currently..

Just checking you are on Windows here though? One suggestion would be to clean up the computer's cache of pairing information:

  1. disconnect the phone(s)
  2. in Task Manager -> Services, find "Apple Mobile Device Service" and stop it
  3. go to C:\ProgramData\Apple\Lockdown and delete (or back up first?) the files
  4. start the service again (or reboot the computer?)
  5. connect the phone and re-pair and trust...

thanks

alpoman commented 3 years ago

I'm on windows10, and I got the 64 bit itunes file you suggested- Ok, I did your 5 steps and now it sees my iphone 12 in cmd binary, and in adobe animate refresh for testing it pops up. When I try to publish however, it takes a minute and throws this error: id: unknown option: -platform_version id: unknown option: -platform_version Compilation failed while executing : ld64

so, I'm closer - and thank you! but any idea why it fails to publish to phone?

thanks again for your time!

Andrew Bell

On Sat, Mar 20, 2021 at 1:47 PM Andrew Frost @.***> wrote:

I'm on Windows 10 with my iPhone at 14.4 and ideviceinfo.exe is working:

ProductName: iPhone OS ProductType: iPhone8,1 ProductVersion: 14.4

When you get that Missing HostID error, is this with a particular version of iTunes installed? I have 12.11.0.26 currently..

Just checking you are on Windows here though? One suggestion would be to clean up the computer's cache of pairing information:

  1. disconnect the phone(s)
  2. in Task Manager -> Services, find "Apple Mobile Device Service" and stop it
  3. go to C:\ProgramData\Apple\Lockdown and delete (or back up first?) the files
  4. start the service again (or reboot the computer?)
  5. connect the phone and re-pair and trust...

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/743#issuecomment-803433388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUAGENE2675YVAUKMFWQUTTETNRLANCNFSM4ZP6GQGA .

ajwfrost commented 3 years ago

Ah - excellent - although if you're seeing a platform_version error then you've got a version of ADT that had that in accidentally on Windows, that option should only be used when running for a simulator (on Mac).

Please try with the ADT from here: https://transfer.harman.com/message/4SPAINrOXZzGEDmaAEUqNF

thanks

alpoman commented 3 years ago

Andrew, you are a GENIUS!!! It worked, published superfast from animate to iphone 12. But it's never easy for me, as soon as my game starts it freezes after the first menu screen... argh!!! I'll ran in debug and no errors, just freezes on phone. But, I think all your help at least got me to this point where I can truely go mad. And then in a month when I try to get on apple store, 40 more hoops, lol!

thanks again Andrew, you saved my weekend,

On Sat, Mar 20, 2021 at 5:05 PM Andrew Frost @.***> wrote:

Ah - excellent - although if you're seeing a platform_version error then you've got a version of ADT that had that in accidentally on Windows, that option should only be used when running for a simulator (on Mac).

Please try with the ADT from here: https://transfer.harman.com/message/4SPAINrOXZzGEDmaAEUqNF

thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Gamua/Adobe-Runtime-Support/issues/743#issuecomment-803463077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUAGEMAYUTNVPMZW3R2XULTEUEYRANCNFSM4ZP6GQGA .