IOS 8.1.2 and above OTA won't install

  • 7
  • Problem
  • Updated 5 years ago
  • Acknowledged
Hi

I am having a problem installing with QR code through the OTA process. There is another thread opened but there was no answer for it, and that thread was opened for nearly 1 month. So i just want to open another thread to see if there are any one has any idea for fixing the OTA process, as i do quite need the QR installation.

The QR code scans with no problem and direct me to a URL link and it asks me to install the app, and i click install, but then it does nothing on the OTA process.
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 7
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hi Clark

When you click on 'Install' did the installation progress show up on the device screen? If not then common problem is as below;

1- Cert is not adhoc or development
2- Cert have already expired / revoked
3- Device is not registered or is not included when generating .mobileprovision file.

If you want to investigate further then use console output to look for possible culprit. Here is the step: https://developer.apple.com/library/ios/qa/qa1747/_index.html

Please check again
(Edited)
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
Hi Amir

Yer my Cert is development, and i just created it like 20 mins before the installation, and i registered the device as well. Cos it installed with no problem via a cable through itunes, it just won't install when i scan the QR code.

If the Cert isnt development or expired, or the device isnt registered then it shouldnt install at all right even via Itunes.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Not to argue but I use Bakodo scanner and it successfully install up to this stage (not able to finish due to device not provisioned).



Nothing wrong with QR link from my end. Please try Bakodo once again. Ignore 'connection not established' message.

IMPORTANT NOTE: Ensure Safari is your default web browser.
Photo of Ab Lopez

Ab Lopez

  • 70 Posts
  • 9 Reply Likes
Amir, the problem is not the QR, but the OTA (over the air) method of installing apps on iOS 8.1 and up. Even though the app is being compiled with the ad-hoc provisioning profile with the correct UDID, it's failing to install. The problem isn't the UDID as the app is able to be installed through the iTunes desktop app. The problem is when you install it using OTA on iOS 8.1 and up. Please check. This issue has been around for almost 2 months now without being fixed.
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
I am also using Bakodo as you suggested, but i am running IOS 8.1.3 on an Ipad. The Bakodo just stops and does nothing, not installing. But it works and install with no problem with i install it via Itunes.
Photo of RubenR6

RubenR6

  • 18 Posts
  • 0 Reply Likes
Exactly what ab lopez says. Please check it, for app id: 124727 still not working to, it installs with itunes and ota with iOS 7 but not with iOS 8.
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
Amir, i got up to exactly that stage too(exact same screen) with the wrong provisioning file.With the right provisioning file, it goes up to the next stage in the OTA process(recognized the provisioning and cert and stops). I replicated exactly your process, using a provisioning file that isnt mine first then i use my provisioning file. When i use a provisioning file that isnt mine, it gives the exact same screen as yours, as i used Bakodo that you suggested, then when i use my own provisioning file, it does not do anything at all after i clicked install. So i am assuming, the OTA is recognizing the provisioning file and cert, but then the plist file isnt recoginized by IOS8 as IOS7 installs it, and the conflict is there so the app does not install. Maybe something to do with the plist file, or whatever file is telling the device to install the app.
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
ruben,

i notice the cert you used is a distribution cert. for ota it has to be a development cert.
Photo of Ab Lopez

Ab Lopez

  • 70 Posts
  • 9 Reply Likes
Hi Brett,

Sorry to intervene, but OTA has always worked for ad-hoc distribution certs for me and everyone here... until iOS 8.1.2
Photo of RubenR6

RubenR6

  • 18 Posts
  • 0 Reply Likes
Hi Brett, offcourse we have multiple certificates also one for development. Last build probably was for production. Just started the dev build so you could try it again. Thanks for looking Into this.
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
Mine was the development cert, but it didnt work either
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Ipad IOS 8.1.3 Does not install over QR, but install when Itune connected via lap....

I am having a problem installing the App via QR code, everything works well when i install via itune.

But when i scan the QR code, it prompts me a install/Cancel, i click install,the window got redirected then nothing happens. It is not installed.

I am installing it on an Ipad ios 8.1.3

I made sure i use the development provisioning. Not sure what else is wrong, because it works when i load it via itune with cable connected.
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
hi clark,

what is your app id?
Photo of clark ho

clark ho

  • 74 Posts
  • 0 Reply Likes
App ID
1165367
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hey guys

I have created bug report below. Kindly remark or provide step to reproduce for engineers to work on.
https://github.com/phonegap/build/issues/410

Thank you and sorry for any inconveniences causes.


Photo of Ab Lopez

Ab Lopez

  • 70 Posts
  • 9 Reply Likes
Thanks, I've posted there the steps to reproduce.
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
If someone who is experiencing this issue could check their device log via XCode, it would really help us out. Haven't been able to reproduce on our side.
Photo of Ab Lopez

Ab Lopez

  • 70 Posts
  • 9 Reply Likes
Thanks, I've just posted the device log output in the Github issue:

https://github.com/phonegap/build/iss...
Photo of Ab Lopez

Ab Lopez

  • 70 Posts
  • 9 Reply Likes
I've done some tests, and here's what I found from the device logs in an iPhone 5 with iOS 8.1.1:

1) When the app fails to install, a "LoadExternalDownloadManifestOperation" warning is shown in the device log and nothing more is displayed in the log. It just stops there. Here's the full warning I got for 2 different apps that I couldn't install via OTA:

Mar 13 14:16:27 iPhone itunesstored[82] : LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID: com.tercercielo.happykids

Mar 13 14:18:30 iPhone itunesstored[82] : LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID: com.aplimovil.revista

2) There are some apps that I can still install via OTA, in those cases, I get the following output in the device log:
----------
Mar 13 14:19:45 iPhone itunesstored[82] : LaunchServices: installing placeholder for com.abc.4kids
Mar 13 14:19:46 iPhone installd[440] : 0x581000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-4017014723613593092.app" type Placeholder requested by itunesstored (pid 82)
Mar 13 14:19:46 iPhone installd[440] : 0x581000 -[MIInstaller performInstallationWithError:]: Installing
Mar 13 14:19:46 iPhone installd[440] : 0x581000 -[MIInstallableParallelPlaceholder performInstallationWithError:]: Installing parallel placeholder
Mar 13 14:19:46 iPhone installd[440] : SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
----------

Also, we've just tested on the same iPhone after upgrading to iOS 8.2 and the problem is still present, and the device log output is the same.
Photo of Jon Farhat

Jon Farhat

  • 38 Posts
  • 1 Reply Like
Same problem. iOS builds only install on new devices. Older (not much) ipad mini, ipad 2, etc. won't install. I have an ipad air 2 - no problem installing a build.

YES - the certs are in place. YES - the provisions are correct. YES the UDID's are proper. Please no suggestions of the obvious.

This IS A MAJOR ISSUE with either PhoneGap Build or Apple or both in regards to compatibility. EVERYONE without a brandnew apple iOS device I've certified and provisioned has the same problem -

Recognizes the app, attempts to load, (either in iTunes or phonegap download) and hangs up near the end - just spinning, or a persistent "INSTALLING" message.