20

我正在编写一个新的 iPhone 应用程序,并想与几个朋友分享它以进行测试、一般反馈和签核。有没有办法我可以做到这一点?

他们位于不同的州,也没有 Mac。

4

2 回答 2

33

Edit: I wrote this post a long time ago. Since then, services such as TestFlight have come along which do this entire process. 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. 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.
  2. Generate a distribution certificate for ad hoc distribution in the Provisioning Portal under Provisioning -> Distribution
  3. Download that certificate yourself (the .mobileprovision file) and install it into Xcode by dragging it on the Xcode icon.
  4. Duplicate your "Release" build setting in Xcode for an Ad Hoc build. 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.
  5. Make an Ad Hoc build by going to Build -> Build and Archive
  6. When Xcode brings up the organizer window, right click on the archived build and make a .ipa file by saving it to disk
  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.
  8. Tell your friends to drag the .ipa file you made into iTunes, and sync their phones

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.

Note that this procedure won't work unless your friends are using iTunes to sync applications with their phones. Also, as noted, you will need to be a paying developer in ADC to even access any of the Provisioning Portal stuff.

于 2010-09-20T17:55:59.400 回答
4

您需要创建一个临时配置文件并使用它构建您的应用程序。然后将 .zip 压缩版本和配置文件发送给您的朋友(可能通过电子邮件)。他们不一定需要 Mac……只要安装了最新的 iTunes,Windows 就可以了。

在iOS Provisioning Portal上有更多信息(包括操作方法)。

所有这一切都假设您已经支付了 99 美元并且是一名注册的 iOS 开发人员。

于 2010-09-20T17:53:46.477 回答