如何在其他 iPhone/iPod 触摸设备上安装我的应用程序
我创建了新的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您必须在开发计算机上的 Xcode 中注册设备,或在应用程序商店上发布您的应用程序。
You must register the device in Xcode on your dev machine, or publish your app on the app store.
您的应用程序包含一个配置文件,在您的情况下是团队配置文件,当您没有专门为此应用程序创建时。
要在设备上运行应用程序,配置文件必须包含该设备的 udid。
您可以解压 ipa 并打开“embedded.mobileprovision”文件。在那里您可以找到允许运行该应用程序的所有设备的列表,如下所示:
只有那些设备才允许运行该应用程序..并且要允许其他设备,您必须使用 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:
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.
首先,您是否使用由 Xcode 管理的团队配置文件?您需要在 Apple 开发人员门户上创建临时分发配置文件才能创建临时。有关创建此配置文件的说明位于开发人员网站上。听起来您正在使用开发配置文件而不是临时分发配置文件。
为了将设备包含在配置文件中,您不需要通过 Xcode 进行设置。我假设您连接了设备,打开管理器,然后单击“用于开发”?这只是设置设备,以便您可以将应用程序直接安装到设备上。
您需要允许安装您的应用的其他设备的所有 UDID。
现在,转到配置门户并将这些设备(UDID)添加到列表中(如果尚未完成)。
创建临时分发配置文件。创建此项目时,您可以选择希望应用程序在哪些设备上运行。完成此操作后,您应该会看到门户的设备部分上的配置文件计数有所增加。
下载这个新的配置文件,并使用以下有关为临时分发创建 IPA 的说明来构建您的应用程序:如何创建 IPA (Xcode 4)
上传应用程序可执行文件和 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.
You need all the UDID's of other devices for which allow your app to install.
Now Go to the Provisioning Portal and add those device (UDID's) to the list, if this has not already been done.
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.
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)
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!