如何在其他 iPhone/iPod 触摸设备上安装我的应用程序

发布于 2024-11-05 18:40:50 字数 603 浏览 0 评论 0原文

我创建了新的 iPhone 应用程序,创建了所有开发配置文件和 AdHoc 分发配置文件,并使用 .plist、.ipa 和 .html 将该应用程序上传到我的本地服务器上。该 html 如下所示:

<a href="itms-services://?action=download-manifest&url=http://www.myServer. ocm/myApp/myApp.plist">Install My App</a>

该 html 文件托管在 http://www.myServer 处。 ocm/myApp/myApp.html

我输入了上面的 URL 并获取了该 html 页面,然后单击“安装我的应用程序”,它将在我的设备上安装 myApp。但是当我在其他设备上尝试此步骤时,它没有安装。

一段时间后,我刚刚从我的设备中删除了团队配置文件并尝试了相同的操作,但该应用程序没有安装在我的设备上。

我对配置文件和团队配置文件感到沮丧。 这个团队的附带条件是什么 与团队配置文件有任何关系吗? 这个团队配置文件是如何创建的? 和

I created new IPhone app, created all the development provisioning profile and AdHoc distribution profile, and I uploaded that app on my local server with .plist, .ipa and .html. this html looks like below:

<a href="itms-services://?action=download-manifest&url=http://www.myServer. ocm/myApp/myApp.plist">Install My App</a>

This html file is hosted at http://www.myServer. ocm/myApp/myApp.html

I typed the above URL and got that html page and clicked "Install My App" and It installs myApp on my device. But When I am trying this step on other's device It is not installed.

And after sometime later, I just deleted the Team Provisioning profile from my device and tried the same, but the app is not installed on my device..

I am frustrated about the provisioning profiles and Team provisioning profile.
What is this Team proviso
Is any relation with Team provisioning profile?
How this Team provisioning profile is created?
and

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

稚然 2024-11-12 18:40:50

您必须在开发计算机上的 Xcode 中注册设备,或在应用程序商店上发布您的应用程序。

You must register the device in Xcode on your dev machine, or publish your app on the app store.

半衬遮猫 2024-11-12 18:40:50

您的应用程序包含一个配置文件,在您的情况下是团队配置文件,当您没有专门为此应用程序创建时。

要在设备上运行应用程序,配置文件必须包含该设备的 udid。

您可以解压 ipa 并打开“embedded.mobileprovision”文件。在那里您可以找到允许运行该应用程序的所有设备的列表,如下所示:

<key>ProvisionedDevices</key>
<array>
    <string>a8c7a34f7f9ed2e8f27XXXXX552eb3b0357c986e</string>
    <string>c59a32XXXXX41659b04f50b71bf807e3274a72b2</string>
    <string>053fb019116fb65944ba8918df793XXXXX3e5b02</string>
</array>

只有那些设备才允许运行该应用程序..并且要允许其他设备,您必须使用 xcode 或开发人员门户将它们添加到配置文件中在编译和上传应用程序之前。

Your App contains a provisioning profile, in your case the team provisioning profile when you did not create on specially for this app.

To run the app on a device the provisioning profile must contain the udid of that device.

you can unzip the ipa and open the "embedded.mobileprovision" file. There you find a list of all devices that are allowed to run the app that looks like:

<key>ProvisionedDevices</key>
<array>
    <string>a8c7a34f7f9ed2e8f27XXXXX552eb3b0357c986e</string>
    <string>c59a32XXXXX41659b04f50b71bf807e3274a72b2</string>
    <string>053fb019116fb65944ba8918df793XXXXX3e5b02</string>
</array>

Only those devices are allowed to run the app.. and to allow other devices you have to add them to the provisioning profile using xcode or the developer portal before you compile and upload the app.

追我者格杀勿论 2024-11-12 18:40:50

首先,您是否使用由 Xcode 管理的团队配置文件?您需要在 Apple 开发人员门户上创建临时分发配置文件才能创建临时。有关创建此配置文件的说明位于开发人员网站上。听起来您正在使用开发配置文件而不是临时分发配置文件。

为了将设备包含在配置文件中,您不需要通过 Xcode 进行设置。我假设您连接了设备,打开管理器,然后单击“用于开发”?这只是设置设备,以便您可以将应用程序直接安装到设备上。

  1. 您需要允许安装您的应用的其他设备的所有 UDID。

  2. 现在,转到配置门户并将这些设备(UDID)添加到列表中(如果尚未完成)。

  3. 创建临时分发配置文件。创建此项目时,您可以选择希望应用程序在哪些设备上运行。完成此操作后,您应该会看到门户的设备部分上的配置文件计数有所增加。

  4. 下载这个新的配置文件,并使用以下有关为临时分发创建 IPA 的说明来构建您的应用程序:如何创建 IPA (Xcode 4)

  5. 上传应用程序可执行文件和 IPA 文件。

我建议使用 TestFlight,这是一个非常有趣的项目,其目标很简单:将应用程序的测试版分发和安装为只需点击一个按钮即可。

祝你好运!

First off, are you using the Team Provisioning Profile that is managed by Xcode? You will need to create an ad hoc distribution provisioning profile on the Apple Developer Portal to create an ad hoc. Instructions on creating this profile are on the developer site. It sounds like you are using a development profile instead of an ad hoc distribution profile.

In order to include a device in the provisioning profile you do not need to set it up via Xcode. I assume you hooked your device up, opened Organizer, and clicked Use For Development? This just sets the device up so you can install your application directly onto your device.

  1. You need all the UDID's of other devices for which allow your app to install.

  2. Now Go to the Provisioning Portal and add those device (UDID's) to the list, if this has not already been done.

  3. Create an Ad Hoc distribution provisioning profile. When creating this you can select which devices you would like your app to run on. When this is complete you should see the profile count increase on the devices section of the Portal.

  4. Download this new profile and build your app using these instructions on creating an IPA for ad hoc distribution: How to create an IPA (Xcode 4)

  5. Upload the app executable and IPA file.

I would recommend to use TestFlight, a very interesting project with a simple goal: to make distributing and installing beta versions of apps as simple as tapping a button.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文