对 iOS 应用程序的验证和 Ad-Hoc 分发的困惑 [英] Confusion over Validation and Ad-Hoc Distribution of iOS app

查看:48
本文介绍了对 iOS 应用程序的验证和 Ad-Hoc 分发的困惑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为我的硕士项目的一部分,我为 iPhone 创建了我的第一个 iOS 应用

I have created my first iOS app for the iPhone, as part of my MSc project

我不想将其上传到 App Store,而是想将其转换为一个文件,供审查员用来在他们自己的设备上检查我的应用.

I don't want to upload it to the App Store but rather convert it into a file that the examiners can use to check my app on their own devices.

因此我需要保存我的应用程序以供Ad-Hoc 部署

Therefore I need to save my app for Ad-Hoc deployment

我创建了我的 Xcode 项目档案,然后按照 Apple 建议的这些步骤

I created an archive of my Xcode project and then followed these steps suggested by Apple

在我的硬盘上创建了一个 myProject.ipa 文件.这够了吗 ?这就是我需要发送给审查员以便他们可以在自己的 iPhone 上安装应用程序的全部内容吗?

A myProject.ipa file was created on my Hard Drive. Is this enough ? Is this all I need to send the examiner so that they can install the app in their own iPhone?

因为,我注意到在 Distribute 按钮顶部还有一个名为 Validate 的按钮(我只是按下它来创建 .ipa 文件)在档案管理器

because, I noticed there was also a button called Validate on top of the Distribute button (I only pressed that to create the .ipa file) in the Archive Organizer

所以我回到档案管理器,再次选择我的档案并点击Validate,我得到:

So I went back to the Archive Organizer, chose my archive once again and clicked on Validate and I got :

未找到申请记录

应用程序必须准备好上传到 iTunes Connect 之前可以在 Xcode 中进行验证或提交.

Applications must be ready for upload on iTunes Connect before they can be validated or submitted from within Xcode.

我去了我的 iTunes Connect 帐户,它显然是空的,即我没有向 AppStore 提交任何应用程序.但我仍然想验证我的应用程序,然后将其发送给审查员以查看它是否满足所有要求(即使它现在在我自己的设备上运行良好 - 只是为了确定).

I went to my iTunes Connect account and it is obviously empty, i.e. I haven't submitted any apps to the AppStore.But I want to validate my app nonetheless, before sending it to the examiner to see if it meets all requirements (even if it is now working fine on my own device - just to be sure).

那么上面的消息是什么意思?我是否必须将我的应用程序提交到 iTunes 连接(即 AppStore)才能对其进行验证?

So what does the above message mean? Do I necessarily have to sumbit my app to iTunes connect (i.e. the AppStore) in order for it to be validated?

此外,是否应该首先验证应用程序才能作为 Ad-Hoc 分发的一部分在其他设备上运行?

预先感谢您的帮助!

推荐答案

验证仅适用于您将应用提交到 App Store 时.您收到未找到应用程序记录"消息的原因是因为要提交到 App Store,您实际上必须首先在 iTunes Connect 中创建一个应用程序提交并输入所有元数据.

Validation is only for when you are submitting your app to the App Store. The reason you are getting the "No Application Records were found" message is because for submitting to the App Store, you actually have to create an App Submission in iTunes Connect first and get all of the metadata entered.

XCode 查询该记录,以便它可以关联您正在构建的项目.

XCode queries for that record so that it can associate the project you are building.

对于 Ad-Hoc 分发,您需要确保在创建存档时使用的分发配置文件中添加了审查员设备.然后,您只需给他们 .ipa,他们就可以通过 iTunes 进行安装.

For Ad-Hoc distribution, you need to make sure that the examiners devices are added in the distribution profile that you used when creating the archive. You can then just give them the .ipa and they can install via iTunes.

这篇关于对 iOS 应用程序的验证和 Ad-Hoc 分发的困惑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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