简体   繁体   English

分享我的iPhone应用程序进行测试

[英]Share my iPhone app for testing

I'm writing a new iPhone app and want to share it with a couple of friends for testing and general feedback and sign-off. 我正在写一个新的iPhone应用程序,并希望与几个朋友分享它,以进行测试和一般反馈和签名。 Is there a way I can do that? 有没有办法可以做到这一点?

They are located in a different state, and they don't have a Mac either. 他们位于不同的州,他们也没有Mac。

Edit : I wrote this post a long time ago. 编辑 :很久以前我写过这篇文章。 Since then, services such as TestFlight have come along which do this entire process. 从那时起, TestFlight等服务就开始了整个过程。 This is really the way to go! 这真的是要走的路!

You need to make an ad hoc build which your friends can install on their phones. 你需要制作一个特殊的版本,你的朋友可以在他们的手机上安装。 It's a bit of a pain, but basically, the procedure goes like this: 这有点痛苦,但基本上,程序是这样的:

  1. Go to the Apple Developer Center's Provisioning Portal and register their device ID's. 转到Apple开发人员中心的Provisioning Portal并注册其设备ID。 You will need to have your friends give you their device ID's , which can be done by clicking on the "Serial Number" field in iTunes on the device page. 您需要让您的朋友为您提供设备ID ,这可以通过单击设备页面上iTunes中的“序列号”字段来完成。
  2. Generate a distribution certificate for ad hoc distribution in the Provisioning Portal under Provisioning -> Distribution 在Provisioning - > Distribution下的Provisioning Portal中为临时分发生成分发证书
  3. Download that certificate yourself (the .mobileprovision file) and install it into Xcode by dragging it on the Xcode icon. 自己下载该证书(.mobileprovision文件)并通过在Xcode图标上拖动它将其安装到Xcode中。
  4. Duplicate your "Release" build setting in Xcode for an Ad Hoc build. 在Xcode中复制您的“发布”构建设置以进行Ad Hoc构建。 Everything should be the same as Release, except in the "Code Signing" section you will want to select the new Ad Hoc profile generated in step 3. 所有内容都应与Release相同,但在“代码签名”部分中,您需要选择在步骤3中生成的新Ad Hoc配置文件。
  5. Make an Ad Hoc build by going to Build -> Build and Archive 通过转到Build - > Build and Archive进行Ad Hoc构建
  6. When Xcode brings up the organizer window, right click on the archived build and make a .ipa file by saving it to disk 当Xcode打开组织者窗口时,右键单击存档的构建并通过将其保存到磁盘来制作.ipa文件
  7. Tell your friends to drag the mobile provisioning profile to the iTunes icon (or with File -> Open for windows users) to install it on their phone. 告诉您的朋友将移动配置文件拖动到iTunes图标(或使用文件 - >打开Windows用户)将其安装到手机上。
  8. Tell your friends to drag the .ipa file you made into iTunes, and sync their phones 告诉你的朋友将你制作的.ipa文件拖到iTunes中,并同步他们的手机

At this point, the app should be installed on their phone, but lots of things can go wrong, so you should definitely read Apple's documentation on the subject as well . 此时,应用程序应该安装在手机上,但很多东西都可能出错,所以你一定要阅读Apple关于这个主题的文档

Note that this procedure won't work unless your friends are using iTunes to sync applications with their phones. 请注意,除非您的朋友使用iTunes与手机同步应用程序,否则此过程将无效。 Also, as noted, you will need to be a paying developer in ADC to even access any of the Provisioning Portal stuff. 此外,如上所述,您需要成为ADC中的付费开发人员才能访问任何Provisioning Portal的内容。

You need to create an ad-hoc provisioning profile and build your app with that. 您需要创建一个临时配置文件并使用它构建您的应用程序。 Then send both a .zip compressed build and the profile to your friends (maybe over e-mail). 然后将.zip压缩版本和配置文件发送给您的朋友(可能通过电子邮件)。 They don't necessarily need Macs... Windows will do just fine, as long as they have the latest iTunes installed. 他们不一定需要Mac ...只要他们安装了最新的iTunes,Windows就可以了。

There's more information (including how-tos) at the iOS Provisioning Portal . iOS Provisioning Portal提供了更多信息(包括how-to)。

All this assumes you've paid your $99 and are a registered iOS developer. 所有这些假设您支付了99美元并且是注册的iOS开发人员。

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

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