Skip to main content
Inspiring
December 31, 2013
Answered

the device has encountered an unexpected error. Installation error: application verification failed

  • December 31, 2013
  • 4 replies
  • 8329 views

the device has encountered an unexpected error. Installation error: application verification failed

I have been receiving this message over and over again when trying to publish my iOS app for the app store (I use Flash cc AIR 3.9.1.1080 for iOS and my settings are: "device testing in interpreter mode", as my app uses several swfs).

I have done everything from scratch, as recommended on other sections of the forums: new app ID from my apple developer account, new Distribution Certificates, new Distribution Provisioning Profiles and nothing works.

I can install my app on my iPad if I use the development Certificate and Provisioning Profile and everything seems OK. But as soon as I use the Distribution Certificate and Provisioning Profile get the same message:

the device has encountered an unexpected error. Installation error: application verification failed

I have done everything from the beggining over and over and nothing works. Am I the only one having this issue on Flash cc???

This topic has been closed for replies.
Correct answer Paul Darky

Hi Daniel:

I´m far from being an expert on Xcode (or any code) but this is what I did and it worked:

- On Xcode go to Preferences > Accounts > select your App Developer Account, then click "view details" on the lower right corner.

- There you can see which of your "Signing Identities" (Certificates) are "Valid". You should have at least one for Development and one for Distribution.

- Below that window there are two icons which you can use to add, export or revoke a "Signing Identitie" (Certificate).

- Choose the one you want to use (Develop. or Distrib.), export it to the folder of the app you are working on and name it in such a way you can relate it to your app. Before knowing this I was exporting them using Keychain Access and I wasn´t naming them to differentiate each one properly.

- On your Apple Developer account create the Provisioning Profile for your app. I deleted any App IDs or Prov. Profs. which were useless.

- Then on my Apple Developer account I generated a Development Prov. Prof. to install and test my app on my iPad. All went fine.

- Then an Ad Hoc Prov. Prof. again to install and test my app on my iPad. All went fine.

- Then I generated the App Store Prov. Prof. and I was able to install the app on my device without the upsetting error.

- Then I uploaded the app to iTunes Connect with no problem.

These link was useful for me: https://developer.apple.com/library/ios/technotes/tn2318/_index.html#//apple_ref/doc/uid/DTS40013777-CH1-TNTAG0

You can also search for "Certificates" and "Provisioning" on Xcode help.

Good luck!

4 replies

Inspiring
April 23, 2015

If you've confirmed that your certificates and provisioning profiles are all good and are still getting this, I determined that you will receive this exact same error if you have your app configured for TESTFLIGHT.  In other words, in your APPNAME-app.xml make sure that the following is commented out within the IOS entitlements section:

    <key>beta-reports-active</key>

  <true/>

Once I commented that out, I was able to resume debugging locally.  Pissed that I spent a day on this, but at least it's working now.

JopWheelz
Participant
May 4, 2015

Thank you so much Nowickim! That solved it for me. I was pulling my hair out to figure out why this wasn't publishing anymore but it works now

Participant
March 22, 2015

I encountered this same error and what the problem is is that when you go to create the App ID through the Apple Developer website you created an iOS App ID you gave it a name and an ID. The ID per Apple's recommendation is in the format of: com.XXXX.XXX for example com.jsebrey.demo.

So, in Flash in the AIR for iOS settings underneath the Provisioning Profile is App ID and if you don't put anything in there by default the name of your Flash file will be put in there. If you are getting the error when publishing using AIR for iOS you need to change the App ID from the default to the App ID you created on the Apple Developer website and my example is: com.jsebrey.demo.

If this App ID does not match the App ID you created at the Apple Developer website you will get the error: "iPad: The device has encountered an unexpected error. Installation Error: ApplicationVerificationFailed".

It's a simple easy fix and does not require going through Xcode in any way. Just make sure that the App ID in the Publish Settings matches the App ID you created through Apple's Developer website.

I hope this helps others who are getting this error as well. I've encountered it a couple of times and I finally realized what the error was and as soon as I did and I made the necessary changes and Published again, everything worked. No problems.

Participant
January 6, 2014

Hey, are you using APNS by any chance?

If yes, take a look at this:

http://forums.adobe.com/thread/1372543?tstart=0

Inspiring
January 2, 2014

I got it! So, this may be useful for others:

I had the cert on my mac and I was exporting it with "Keychain Acces". Finally I found that I could generate and export an "iOS Distribution Signing Authorithy" on Xcode. I did that and things worked again!

Participant
January 3, 2014

Paul,

I'm stuck with this error since 3 days, now I'm wondering how you resolved this. What exactly does this mean: "generate and export an "iOS Distribution Signing Authorithy" on Xcode" ?

I'd very much appreciate a more detailed explanation.

Thank you!

Daniel

Paul DarkyAuthorCorrect answer
Inspiring
January 3, 2014

Hi Daniel:

I´m far from being an expert on Xcode (or any code) but this is what I did and it worked:

- On Xcode go to Preferences > Accounts > select your App Developer Account, then click "view details" on the lower right corner.

- There you can see which of your "Signing Identities" (Certificates) are "Valid". You should have at least one for Development and one for Distribution.

- Below that window there are two icons which you can use to add, export or revoke a "Signing Identitie" (Certificate).

- Choose the one you want to use (Develop. or Distrib.), export it to the folder of the app you are working on and name it in such a way you can relate it to your app. Before knowing this I was exporting them using Keychain Access and I wasn´t naming them to differentiate each one properly.

- On your Apple Developer account create the Provisioning Profile for your app. I deleted any App IDs or Prov. Profs. which were useless.

- Then on my Apple Developer account I generated a Development Prov. Prof. to install and test my app on my iPad. All went fine.

- Then an Ad Hoc Prov. Prof. again to install and test my app on my iPad. All went fine.

- Then I generated the App Store Prov. Prof. and I was able to install the app on my device without the upsetting error.

- Then I uploaded the app to iTunes Connect with no problem.

These link was useful for me: https://developer.apple.com/library/ios/technotes/tn2318/_index.html#//apple_ref/doc/uid/DTS40013777-CH1-TNTAG0

You can also search for "Certificates" and "Provisioning" on Xcode help.

Good luck!