Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Receiving Installation Error: ApplicationVerificationFailed in Flash Builder for iOS

This is the error I'm getting when I try to install my app on my iPhone.

enter image description here

More details:
It did work at one point. I used a different computer recently, working on a different project and had to create a new certificate. This invalidated my other projects (profiles). I went back to working on the first computer and uploaded the certificate from that one. I recreated the app profiles and downloaded the provisioning files based on that previous certificate. None of that worked. In the end I had to start over from scratch as shown in the answer below.

like image 506
1.21 gigawatts Avatar asked Feb 26 '13 05:02

1.21 gigawatts


2 Answers

I finally got it to work by starting over from scratch. I think the problem was that when I went to a new computer and uploaded a new certificate I had to revoke the old certificate. It seems that once it's revoked that maybe it can't be used again.

So I recreated my signing certificate, recreated a p12 file from it, recreated (modified) the app profile (making sure to select my certificate again and selected all of my devices again), redownloaded the mobile provisioning file, reselected these in the iOS configuration screen and restarted Flash Builder and it worked again.

I had tried to use a wildcard, "com.myactualdomainhere.*" and I couldn't get that to work but I didn't do all the steps above (I didn't recreate my signing certificate) and if you can't reuse a certificate then that may have been the issue.

So I did all the steps above and used the app name, "com.myactualdomainhere.MyApp" and made sure it matched in the application descriptor file (for AIR apps) com.myactualdomainhere.MyApp.

It would be nice if someday they could simplify this process and give better error messages. Maybe they could verify the different parts along the way, for example, "your certificate is ok, your app profile checks out, but your app id is incorrect."

Also, MilkyWay posted a link to a post that has some more helpful information.

like image 144
1.21 gigawatts Avatar answered Nov 07 '22 16:11

1.21 gigawatts


I experienced this error working with code from another vendor. As it turns out, they were trying to compile the IPA with an Entitlements.plist file. I just deleted that block of code (below) and it compiled just fine.

<Entitlements>
    <![CDATA[
        <key>get-task-allow</key>
        <true/>
    ]]>
</Entitlements>
like image 31
Jeremy White Avatar answered Nov 07 '22 16:11

Jeremy White