简体   繁体   English

接收安装错误:适用于iOS的Flash Builder中的ApplicationVerificationFailed

[英]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. 这是我尝试在iPhone上安装应用程序时遇到的错误。

在此处输入图片说明

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. 最后,我必须从头开始,如下面的答案所示。

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. 因此,我重新创建了签名证书,从中重新创建了p12文件,重新创建(修改了)应用配置文件(确保再次选择我的证书并再次选择了我的所有设备),重新下载了移动配置文件,并在iOS配置中重新选择了这些文件屏幕,然后重新启动Flash Builder,它又可以工作了。

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. 我曾尝试使用通配符“ com.myactualdomainhere。*”,但无法执行该操作,但是我没有执行上述所有步骤(我没有重新创建签名证书),如果不能重用证书,则可能是问题所在。

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. 因此,我完成了上述所有步骤,并使用了应用程序名称“ com.myactualdomainhere.MyApp”,并确保它在应用程序描述符文件(对于AIR应用程序)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." 也许他们可以在此过程中验证不同的部分,例如,“您的证书还可以,您的应用配置文件已签出,但您的应用ID不正确。”

Also, MilkyWay posted a link to a post that has some more helpful information. 另外,MilkyWay张贴了一个链接,该链接包含一些更多有用的信息。

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. 事实证明,他们正在尝试使用Entitlements.plist文件编译IPA。 I just deleted that block of code (below) and it compiled just fine. 我只是删除了该代码块(如下),并且编译得很好。

<Entitlements>
    <![CDATA[
        <key>get-task-allow</key>
        <true/>
    ]]>
</Entitlements>

I've just been stuck with this problem this morning, took a while to figure out so thought I'd post incase anyone else has the same issue. 我今天早上一直被这个问题困扰,花了一段时间才弄清楚,以为我会发帖,以防其他人遇到同样的问题。

We had a problem adding a device to our provisioning profile, an iPhone 5 on iOS7. 将设备添加到我们的配置文件中时遇到了问题,iOS7上的iPhone 5。 It turned out that the application we were using to get the UDID (UDID+) was giving us the wrong UDID. 原来,我们用来获取UDID(UDID +)的应用程序给了我们错误的UDID。 When I used the ID returned by 当我使用ID返回的ID时

adt -devices -platform ios

It worked. 有效。

In my case it was at matter of unaccepted characters in some embedded folders. 就我而言,这是一些嵌入式文件夹中字符不可接受的问题。 Folder names that contained special characters ( æ ø å or whitespace) resulted in an ApplicationVerificationFailed error. 文件夹包含特殊字符的名称( æ ø å或空格),导致了ApplicationVerificationFailed错误。 (Not exactly the most precise error description I have encountered.) (不完全是我遇到的最精确的错误描述。)

I know this is an old thread, but if anyone else is Googling around and finds this thread and it does NOT fix your issue, I wanted to share my experience on this one. 我知道这是一个旧线程,但是如果其他任何人都在谷歌上搜索并且发现此线程并且它不能解决您的问题,那么我想分享我的经验。 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. 如果您确认自己的证书和配置文件都还不错,并且仍然可以正常使用,那么我确定如果为TESTFLIGHT配置了应用程序,则将收到与此完全相同的错误。 In other words, in your APPNAME-app.xml make sure that the following is commented out within the IOS entitlements section: 换句话说,请确保您的APPNAME-app.xml中的“ IOS权利”部分中的以下内容已被注释掉:

<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. 很生气,我花了一天的时间,但至少现在可以了。

如果您更改Apple ID密码,也会发生这种情况。

My problem was that in my Application ID under apple developers, my app wasn't checked for PushNotification, but within my xml application descriptor, I had the entitlments for push notifiaction (aps_development). 我的问题是,在Apple开发人员下的应用程序ID中,未检查我的应用程序是否包含PushNotification,但在xml应用程序描述符中,我有推送通知的吸引力(aps_development)。

Once à removed the APS value from my XML, worked all good. 一旦à从我的XML中删除了APS值,一切正常。

If you haven't compiled in a long time, be sure you set your compilation settings to device testing and make sure you are using your testing provisioning profile. 如果很长时间没有编译,请确保将编译设置设置为设备测试,并确保使用测试配置文件。 I got this today because my settings were still on app store. 我今天得到这个是因为我的设置仍在应用商店中。

The problem for me was that I was using a .p12 file which was meant for Apple Push Notifications instead of the .p12 file of my Developer certificate.. 对我来说,问题是我使用的是.p12文件而不是开发人员证书的.p12文件,该文件是为Apple Push Notifications设计的。

I used the .p12 I exported from my developer certificate and it works great..! 我使用了从开发人员证书中导出的.p12,效果很好。

就我而言,这是不正确的应用程序ID问题(已编译的应用程序ID与我定义的Apple的应用程序ID不同)

sometimes this error occurs because of you bin-debug folder. 有时由于您的bin-debug文件夹而发生此错误。

if that folder has some unknown character or something this error occurs. 如果该文件夹有一些未知字符或某些东西,则会发生此错误。

I suggest if in that case you have to clean the project or find that file and change it's name 我建议在这种情况下,您是否必须清理项目或找到该文件并更改其名称

如果以前可以运行,则只需重新启动Flash Builder。

I did some tests today on test flight with the Entitlements tags. 我今天在试飞中使用了Entitlements标签进行了一些测试。 It need to be remove when testing localy or I get the same error. 测试区域设置时需要将其删除,否则会出现相同的错误。

Like jbyun94 mentionned, get rid of unknown characters in filenames. 就像提到的jbyun94一样,摆脱文件名中的未知字符。

I had files in conflict from dropbox that prevented the app from compiling. 我有来自Dropbox的冲突文件,阻止了该应用的编译。

Removed them and everything worked again (though I'd lost a couple of hours :/) 删除它们,一切又恢复正常(尽管我已经浪费了几个小时:/)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iPad 2 Retina接收安装错误:Flash Builder for iOS中的ApplicationVerificationFailed - iPad 2 Retina Receiving Installation Error: ApplicationVerificationFailed in Flash Builder for iOS Adobe Flash Professional CC发布到iDevice并接收安装错误:ApplicationVerificationFailed - Adobe Flash Professional CC publishing to iDevice and receiving Installation Error: ApplicationVerificationFailed iOS安装错误:ApplicationVerificationFailed - iOS Installation Error: ApplicationVerificationFailed Flash CC直接发布到iPad并获得安装错误:ApplicationVerificationFailed - Flash CC publish direct to iPad and get Installation Error: ApplicationVerificationFailed 尝试从Flash Builder进行部署时出现“ ApplicationVerificationFailed” - “ApplicationVerificationFailed” when trying to deploy from Flash Builder Flash 生成器和 iOS - Flash Builder and iOS 适用于iOS项目的Flash Builder - Flash Builder for iOS projects LibGDX:部署到iOS设备:ApplicationVerificationFailed - LibGDX : Deploying to iOS device : ApplicationVerificationFailed 从Flash Builder部署到iOS时出错-JAVA_TOOL_OPTIONS - error deploying to iOS from Flash Builder - JAVA_TOOL_OPTIONS Flash Builder iOS导出版本错误格式版本无效标签 - Flash Builder iOS export release Error Invalid format versionLabel
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM