接收安装错误:Flash Builder for iOS 中的 ApplicationVerificationFailed
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15081935/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Receiving Installation Error: ApplicationVerificationFailed in Flash Builder for iOS
提问by 1.21 gigawatts
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.
更多细节:
它确实在某一时刻起作用。我最近使用了另一台计算机,从事不同的项目,不得不创建一个新证书。这使我的其他项目(配置文件)无效。我回到第一台计算机上工作并上传了那台计算机的证书。我重新创建了应用程序配置文件并根据之前的证书下载了配置文件。这些都没有奏效。最后,我不得不从头开始,如下面的答案所示。
采纳答案by 1.21 gigawatts
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 morehelpful information.
此外,MilkyWay 发布了一个链接,指向一个包含更多有用信息的帖子。
回答by Jeremy White
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.plist 文件编译 IPA。我刚刚删除了该代码块(如下)并且编译得很好。
<Entitlements>
<![CDATA[
<key>get-task-allow</key>
<true/>
]]>
</Entitlements>
回答by Tom
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. It turned out that the application we were using to get the UDID (UDID+) was giving us the wrong UDID. When I used the ID returned by
我们在将设备添加到我们的配置文件中时遇到了问题,即 iOS7 上的 iPhone 5。事实证明,我们用来获取 UDID (UDID+) 的应用程序给了我们错误的 UDID。当我使用返回的 ID 时
adt -devices -platform ios
It worked.
有效。
回答by kpodenphant
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. (Not exactly the most precise error description I have encountered.)
在我的情况下,这是在某些嵌入式文件夹中不接受字符的问题。包含特殊字符(?
?
?
或空格)的文件夹名称导致 ApplicationVerificationFailed
错误。(不完全是我遇到的最准确的错误描述。)
回答by Matt Nowicki
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. In other words, in your APPNAME-app.xml make sure that the following is commented out within the IOS entitlements section:
我知道这是一个旧线程,但是如果其他人在谷歌上搜索并找到了这个线程并且它没有解决您的问题,我想分享我在这个问题上的经验。如果您已经确认您的证书和配置文件都没有问题并且仍然得到这个,我确定如果您为 TESTFLIGHT 配置了您的应用程序,您将收到完全相同的错误。换句话说,在您的 APPNAME-app.xml 中,确保在 IOS entitlements 部分中注释掉以下内容:
<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.
一旦我将其注释掉,我就能够在本地恢复调试。很生气我花了一天的时间,但至少现在它正在工作。
回答by kim
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).
我的问题是,在苹果开发人员下的应用程序 ID 中,我的应用程序没有检查 PushNotification,但在我的 xml 应用程序描述符中,我有推送通知 (aps_development) 的权利。
Once à removed the APS value from my XML, worked all good.
从我的 XML 中删除 APS 值后,一切正常。
回答by Yuval A.
This can also happen if you change your Apple ID password.
如果您更改 Apple ID 密码,也会发生这种情况。
回答by Ohiovr
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.
如果您很长时间没有编译,请确保将编译设置设置为设备测试,并确保您使用的是测试配置文件。我今天得到了这个,因为我的设置仍在应用商店中。
回答by SudoPlz
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 文件,该文件用于 Apple 推送通知,而不是我的开发人员证书的 .p12 文件。
I used the .p12 I exported from my developer certificate and it works great..!
我使用了从我的开发人员证书导出的 .p12 并且效果很好..!
回答by Igor Wojda
In my case it was incorrect application id problem (different compiled app id then app id I have defined apple)
在我的情况下,这是不正确的应用程序 id 问题(不同的编译应用程序 id 然后应用程序 id 我已经定义了苹果)