XCode:如何在上传之前验证IPA是否有效? [英] XCode: How can I verify an IPA is valid before uploading?

查看:109
本文介绍了XCode:如何在上传之前验证IPA是否有效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在创建IPA文件时遇到问题,TestFlight向我展示了这个原因。

I have a problem with creating IPA files and TestFlight is showing me this reason.

http://help.testflightapp.com/customer/portal/articles/402843-mismatched-keychain-access-groups

我与钥匙串访问组不匹配,但是需要一段时间才能将IPA文件上传到TestFlight,然后才能告诉我该文件无效。我想在上传文件之前先进行测试。我还想知道如何从IPA文件中获取信息,以便我可以诊断和解决问题。我不知道它怎么会失败,因为我在Debug / Release版本中使用了相同的代码签名身份,并从存档中对IPA进行了签名。我不知道这是什么问题或如何解决。

I get a mismatch with keychain access groups but it takes a while to upload the IPA file to TestFlight before it can tell me the file is not valid. I'd like to test the file before I even upload it. I would also like to know how to get information abou the IPA file so that I can diagnose and fix the problem. I have no idea how it is failing since I am using the same Code Signing Identity in the Debug/Release builds as well as signing the IPA from the Archive. I have no idea what is wrong or how to fix it.

我们将不胜感激。

推荐答案

如果您的分发配置概要文件捆绑包标识符与您的应用程序的捆绑包标识符匹配(例如,您的捆绑包ID为 com.mycompany.appname ,并且您的应用程序的捆绑包ID至少具有 com .mycompany。* ,那么您不应该遇到此错误。

If your Distribution Provisioning profile bundle identifier matches your App's bundle identifier (eg your bundle id is com.mycompany.appname and your App's bundle id has at least com.mycompany.* then you shouldn't run into this error.

在Xcode 4.3中检查有效性反馈的另一种方法是存档应用程序,然后点击(请注意,您必须先在iTunes Connect帐户中创建了应用程序ID,然后按照以下步骤操作,然后再单击组织者的存档部分中的验证按钮。(注意,它不允许您进行验证并给出未找到应用程序记录错误)。步骤,直到将其设置为等待上传为止。如果您尚未准备好上传到商店,请不要担心,您仍然可以在不上传任何内容的情况下进行验证。)

Another way to check validity feedback in Xcode 4.3 is to archive the app, and hit the Validate button in the Archives section of your Organizer. (Note that it won't allow you to to validate and gives a 'No application records found' error until you've created an App ID in your iTunes Connect account, and followed the steps until you've set it to "Waiting for Upload ". Don't worry if you're not ready to upload to the store yet, you can still validate without uploading anything.)

这篇关于XCode:如何在上传之前验证IPA是否有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆