简体   繁体   English

如何在将其提交给iPhone应用程序商店进行审核之前测试最终的分发版本?

[英]How to test the final distribution build before submitting it for review to the iPhone app store?

I have developed an iPhone App and I want to test this final distribution build before submitting it to the App Store for review. 我开发了一个iPhone应用程序,我想在将它提交到App Store进行审核之前测试这个最终的分发版本。 Is there any safe way to make this app to run on a device? 有没有安全的方法让这个应用程序在设备上运行?

You might want to also check out Craig Hockenberry's " The final test " blog post. 您可能还想查看Craig Hockenberry的“ 最终测试 ”博客文章。

Craig gives a method of testing where the only difference between what you test and what you submit is the signing identity. Craig提供了一种测试方法,测试您测试的内容与您提交的内容之间的唯一区别是签名身份。

No, you can't. 不,你不能。 This makes me a little nuts, too. 这让我有点疯狂。 If you set up an ad-hoc distribution profile, that is as close as you can get. 如果您设置了临时分发配置文件,那么就尽可能接近。 On the "positive" side, you're guaranteed to have your app rejected if it can't be installed properly... 在“积极”方面,如果无法正确安装,您可以保证您的应用被拒绝...

check this out, you can actually test a distribution build : 看看这个,你可以实际测试一个分发版本:

http://nikhilkerala.blogspot.com/2010/12/how-to-test-app-store-distribution.html http://nikhilkerala.blogspot.com/2010/12/how-to-test-app-store-distribution.html

You can setup a beta through the iPhone portal program. 您可以通过iPhone门户程序设置测试版。 You can then load the App and the associated profile onto a phone through iTunes or XCode. 然后,您可以通过iTunes或XCode将应用程序和相关配置文件加载到手机上。

It is actually possible to install the distribution build if you have once previously installed an Ad Hoc build on your phone. 如果您之前在手机上安装了Ad Hoc版本,则实际上可以安装分发版本。 Most people simply never tried it =) 大多数人根本就没试过它=)

And no jailbreak is required. 并且不需要越狱。 For step by step instructions, see my answer here: 有关分步说明,请参阅我的答案:

Testing App Store "Distribution" version 测试App Store“分发”版本

I know this question is a little old, but I've recently found a better way of testing and distributing my Apps prior to submission and this method allows me to easily get it on real devices without having to have the device physically in my hands or have the user muck with provisioning profiles, certificates or iTunes syncing. 我知道这个问题有点陈旧,但我最近在提交之前找到了一种更好的方法来测试和分发我的应用程序,这种方法可以让我轻松地在真实设备上获取它,而无需将设备放在我手中或让用户捣乱配置文件,证书或iTunes同步。

Developers can create an account on TestFlight and create a team. 开发人员可以在TestFlight上创建一个帐户并创建一个团队。

After creating a team, invite testers to your team (click "Invite a Teammate" on the team's page). 创建团队后,邀请测试人员加入您的团队(点击团队页面上的“邀请队友”)。 The tester will receive an invitation email to join your team and will be walked through the process of creating a basic account (name, email, password) and will have their device registered and their account will be added to your team. 测试人员将收到一封邀请电子邮件,以加入您的团队,并将完成创建基本帐户(姓名,电子邮件,密码)的过程,并将注册他们的设备,并将他们的帐户添加到您的团队。

Once you have your testers in place, go to your team's page and select all the testers, export their device information via the link and import that list into an Ad-Hoc distribution profile. 准备好测试人员后,转到您团队的页面并选择所有测试人员,通过链接导出他们的设备信息并将该列表导入Ad-Hoc分发配置文件。

Import that profile (and the Ad-Hoc certificate) into Xcode and rebuild your project and share it as an *.ipa file. 将该配置文件(和Ad-Hoc证书)导入Xcode并重建项目并将其作为* .ipa文件共享。

Go back to your TestFlightApp.com team's page and upload the binary. 返回TestFlightApp.com团队的页面并上传二进制文件。 All the testers on your team with access to the build will get an email notification about it. 您团队中所有可以访问构建版本的测试人员都会收到有关它的电子邮件通知。 All they have to do is click "Install" in the email and they will be taken to a TestFlightApp.com page that will install the App on their device over the air, no iTunes, no mucking around with profiles, etc. 所有他们要做的就是点击电子邮件中的“安装”,他们将被带到TestFlightApp.com页面,该页面将通过无线方式在他们的设备上安装应用程序,没有iTunes,没有乱码,等等。

I tested it this morning actually and I'm very impressed with how easy it is and it also happens to be free. 我实际上今天早上进行了测试,我对它的简单性感到非常印象,它也恰好是免费的。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM