App cannot install on iOS

  • 5
  • Problem
  • Updated 5 years ago
  • Solved
Since yesterday my App cannot be installed on iOS 8.4.1, or iOS 9.1

Tried with QR code scan, and iTunes install, the app downloads but it fails to install

Also tried in iPhone5 and iPhone6.

Please advice because I cannot continue development.
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
  • frustrated, confused

Posted 5 years ago

  • 5
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Usually, if an iOS app doesn't install, the problem is within the signature (ie p12 and mobileprovision).
- Do they match?
- Do you have the devices registered at Apple and within the mobileprovision?
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Yes, the app was installing fine up until yesterday. And then both iOS and Android builds stopped working, today the Android app works fine, but iOS still cannot install.

I will do a double check of the p12 and provision file but I'm 99% that is not the case.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Probably the .cert has expired.
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
I'm experining the same problem
for the moment solved using Xcode to load on my testing device
Photo of Evan Donn

Evan Donn

  • 5 Posts
  • 1 Reply Like
I had the same issue earlier today, everything worked last week but suddenly today wouldn't install. I had to generate new cert and provisioning profile a couple times before I got it to install (although now I'm having other issues).
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Yes it was the cert that had expired, but no warning or anything was present, this made it quite difficult to debug.
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
I'm experiencing the same problem, but my iPhone Developer certificate on the keychain says that will expire on 25/11/2015...
I have double checked everything:
the App ID is correct
the device is on the list with the correct identifier
I generate the provisioning with the correct App ID, including me as developer and the device in the Devices list.
this is going to drive me crazy, what can I be missing here?
all was working with a previous version of the same app, but with different App ID...
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
Ihave also tried using Xcode on the connected device,
but I'm told:

App installation failed
A signed resource has been added, modified, or deleted.
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
Hi, the same here. Certificates are OK (I've created new ones). Provisioning is OK. And when I try to install using Xcode, the same error:

App installation failed
A signed resource has been added, modified, or deleted.
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
Hi Ruben,
I have prepared and downloaded two different versions of the app.
one using phonegap-version 5.2.0 ( the last ) and one using 5.1.1 ( the previous )
I see the error with 5.2.0, and the app installs without problems 5.1.1

maybe you could try to do the same, if the same happens to you I would be sure that's not a problem on our side we can fix ( certificates, etc. ) but something to fix on the build side of the thing.

thanks

Giulio

Que viva el Barça!!!
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
Hi Jesus,
yes my app is 5.2.0. Maybe it's what you say, the Phonegap version. I'll try to make a 5.1.1 buid.

Yes, força Barça :)
Photo of joeharker

joeharker

  • 22 Posts
  • 0 Reply Likes
same problem here
but putting version 5.1.1 in my build xml does not compile
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Did you set it to "cli-5.1.1"?
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hey guys

Can you verify both are development provisioning & development certificate and not distribution.

Also ensure using the right Apple Appid (wildcard or prefixes) when preparing the provisioning profile.

If none of the following helps then let us know your Build AppID.


Please ensure the following:

1- Certificate is still valid (not expired)
2- Use only development certificate and development provisioning profile
3- When generating development provisioning profile, ensure to include the right Apple AppID.
4- Ensure device UUID has been added to provisioning portal.
5- When generating development provisioning profile, ensure to include the right device UUID.

Thanks
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
Hi Amir,
certificates are OK. And provisionig profile, too. Appid too :(

Now I've tried cli-5.1.1 as Phonegap version, and I can install the build APP, so it seems a 5.2.0 problem.

My AppID is 1376186.

Thank you for your help,
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
Yes, I confirm
same problem as Ruben

certificates are OK
cli-5.1.1 will install and cli-5.2.0 will not install, both trying with QRcode and from Xcode.
from Xcode I'm told 'A signed resource has been added. modified or deleted."

My AppID is 1687075.

thanks from me, too
Photo of joeharker

joeharker

  • 22 Posts
  • 0 Reply Likes
thank you all
the "cli" of cli-5.1.1
solved it for me
Photo of joeharker

joeharker

  • 22 Posts
  • 0 Reply Likes
appid 1076244
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
i would update your provisioning profile, it seems to be expired.
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
Yes, it works with 5.1.1, but I'd like to use last version, 5.2.0.
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Can't install in iOS 9, build OK, fails installation.

Hi friends,
I don't know if it's about iOS update, but cannot install app in iPhone for testing. I've searched info and see that others have this problem, and normally resubmitting certificates it works. Not in my case. I've also revoked old certificates, and created new ones, and uploaded to Phonegap Build.
When I build, it works, and no errors in Log file. But when I try to install it by QR, iPhone show me a "canno't install" message. If I download IPA and try to install by XCode, it gives my an error "app installation failed a signed resource has been added modified or deleted". iPhone is in Provisioning Profile, off course. It's the same I use a month ago.

Thank you for your help,
Ruben
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
same situation as Ruben
and remain convinced that can't be a certificate issue, if the situation is solved downgrading the phonegap version
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hey Guys

I have created bug report here for developers to work on. Kindly subscribe / watch for status update:
https://github.com/phonegap/build/issues/468

In the meantime, can you by chance try the following workaround and report back to us

Please remove all signing keys from Build dashboard, logout then resubmit back again.

Thanks.
(Edited)
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
as an added check you can view the provisioned devices at the bottom of the xcode log. please make sure the device you are trying to install on is in that list.
Photo of Giulio Mastrosanti

Giulio Mastrosanti

  • 14 Posts
  • 0 Reply Likes
HI, done all your suggestions nut without result

removed all signing key
removed completely the app from the dashboard
logged out
logged in again
reloaded and unlocked the signing key ( developer )
loaded and built the app again

the app does not install on my iPad ( iOS 8.2 ) nor on my iPhone ( 7.1.2 )

checked the xcode log and the devices are on the list of provisioned devices, and anyway it is surely true because if I simply change the phonegap-version to cli-5.1.1 and build again, the app installs just fine on both devices.

My new app ID is 1711364

thanks for your efforts,

Giulio
Photo of Ruben Maestre

Ruben Maestre

  • 10 Posts
  • 0 Reply Likes
Hi Brett,
yes, in Xcode log the device UUID is OK.

Thanks,
Photo of Michael Dobekidis

Michael Dobekidis

  • 18 Posts
  • 0 Reply Likes
Yes still the same thing with cli-5.2.0, can't install on ios9. Android seems fine.
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
hi,

can you guys try to build again? some of the builds have failed as there are hidden files present which made the codesigner fail.

these files are now scrubbed. be sure to rebuild the applications.