airsdk / Adobe-Runtime-Support

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

IntelliJ deploy fails with some iOS devices – AIR 33.1.1.98 #312

Open hstr33t opened 4 years ago

hstr33t commented 4 years ago

Problem Description

IntelliJ reports that the build was successfully installed on device, but no IPA has been installed.

Several other iOS devices tested work as expected. If I roll the AIR SDK back to 33.0.2.338, the IPA build is installed as expected to iPhone 11 Pro.

The issue is not missing device permission to talk to the computer over USB.

The IPA build can alternatively be installed directly using Xcode Devices & Simulators.

The issue may affect other recent devices as well (not just iPhone 11 Pro).

Steps to Reproduce

  1. Connect iPhone 11 Pro to Mac
  2. Okay permissions on device (e.g., "Trust this device") — e.g., using iTunes
  3. Make sure AIR SDK 33.1.1.98 is active
  4. Build project with IntelliJ with deploy to device enabled
  5. Wait for project to build
  6. Wait for message that IPA was successfully installed
  7. Note that IPA was not installed on device
marchbold commented 4 years ago

We've encountered a similar issue when the IPA validation fails.

It seems AIR thinks the IPA was installed correctly but in-fact it has failed validation during installation, eg from an incorrectly signed framework.

Hasn't bothered us, but would be nice to correct the feedback.

Dima107 commented 4 years ago

I use intellij idea too. I have same problem. I can debug in this way:

  1. I set network debug in my run configuration.
  2. I start debug.
  3. When Idea tells that app installed I install ipa via xCode
  4. Launch app on device
  5. Enjoying the debug process:)
hstr33t commented 4 years ago

Thank you Dima!

Confirmed that this workaround works and allows you to debug on device.