内部应用程序安装后消失

发布于 2024-10-31 12:03:07 字数 721 浏览 6 评论 0原文

我目前正在为客户构建一个 iPhone 应用程序,该应用程序将在内部分发。我的客户刚刚在 Apple 中创建了他们的企业开发者帐户。

我已经创建了一个网站,供客户端按照苹果提供的说明无线下载应用程序的测试版本: 分发适用于 iOS 4 设备的企业应用程序。这些测试是通过我的标准帐户使用 Adhoc 配置文件完成的,该配置文件列出了他们的设备 UDID。

我现在正在尝试使用他们的企业帐户部署应用程序。我创建了内部配置文件。我还创建了应用程序的存档并创建了 .ipa 文件以使用此配置文件进行分发。

当我尝试下载该应用程序时,出现了我遇到的问题。当我访问我创建的下载应用程序的网站时,我可以看到该应用程序正在我的 iPhone 上下载,图标下的文字为:“正在加载...”。然后措辞变为“正在安装...”。进度条完成后,应用程序就会消失。我还注意到我的设备上安装了内部配置文件。

我在多个设备上重复了几次这个过程,这两个设备都是我用来测试这个应用程序的设备,还有那些我什至没有使用过这个应用程序的设备。我什至尝试删除一台设备上的所有配置文件。发生相同的过程,内部配置文件会再次自动安装。

究竟出了什么问题或者我没有做什么?

I'm currently building an iPhone app for a client which will be distributed in-house. My Client has just created their Enterprises Developer account in Apple.

I have created a website for the client to download test versions of the app wirelessly, through instructions given by apple here: Distributing Enterprise Apps for iOS 4 Devices. These tests have been done through my Standard account using an Adhoc profile which has their devise UDID's listed.

I am now trying the deploy the app using their Enterprises account. I created the In-house provisioning file. I also created an archive of the app and created the .ipa file for distribution using this profile.

The problem I am having occurs when I try to download the app. When I go to the site I created to download the app, I can see the app downloading on my iPhone, the wording under icon says: "Loading...". Then the wording changes to "Installing...". Once the progress bar finishes the app disappears. I also noticed the in-house provisioning files installed on my device.

I repeated the process several times on multiple devices, both devices that are I have used for testing this app and those I have not even used this app in. I even tried removing all the provisioning files on one device. Same process happens and the in-house provisioning file gets automatically installed again.

What exactly is wrong or am I not doing?

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

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

发布评论

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

评论(7

滴情不沾 2024-11-07 12:03:07

我的一个内部应用程序也遇到了同样的问题。原因是应用程序清单中的包 ID 指定不正确。修复捆绑包 ID 后,应用程序可以正常安装。

I experienced the same problem with one of my in-house apps. The reason was that bundle ID in application manifest was specified incorrectly. After I fixed bundle ID, the application installs normally.

朕就是辣么酷 2024-11-07 12:03:07

对我来说,问题是我的下载 plist 文件的bundleID 与我的代理的bundleID 不同。
修复了下载 plist 文件的问题。

或者重新启动也可以,但每次都很痛苦。

The issue for me was that my download plist file had a different bundleID than my agent's bundleID.
Fixing the download plist file worked for.

Alternatively a restart also worked, but it was a big pain everytime.

最佳男配角 2024-11-07 12:03:07

我在应用程序 info.list 文件中使用了捆绑 ID - com.myname.{appId} 。
但我的 OTA 清单文件使用了 com.myname.*
由于这个问题我的安装失败。
我更改了这两个地方 com.myname.APPName 然后就可以正常工作了。

I used bundle ID - com.myname.{appId} in app info.list file.
But my OTA manifest file i used com.myname.*
because of this issue my install fails.
I changed both places com.myname.APPName then works like smart.

醉城メ夜风 2024-11-07 12:03:07

**

我遇到了完全相同的问题,并通过以下步骤解决了该问题。

**

问题描述
澄清一下,问题(应用程序未正确安装 - 安装后图标消失)仅发生在 iOS 设备上(同一应用程序版本的 Android 版本工作正常)。

问题来源
在我的案例中,问题是由于我正在使用的测试 iPad 设备未注册(添加)到我的应用程序正在使用的开发人员配置文件中。

吸取教训
这意味着在任何给定的测试设备添加到配置文件 (PP) 之前,iOS 开发者应用程序无法安装在该设备上。重要的信息还在于,一旦设备添加到 PP 中,就需要生成新的 PP,并且必须使用这个新的 PP 对 App 进行签名才能完成握手。

修复步骤

  1. 登录 Apple Developer https://developer.apple.com
  2. 导航到“证书、标识符和”个人资料' -> “设备”
  3. 确认您的设备未在此处列出后,单击“+”
    输入图片此处描述
  4. 填写您测试设备的“名称”和“UDID”,然后单击“继续”
    输入图片此处描述
  5. 将设备添加到列表后,通过导航到“配置配置文件”-> 生成新的 PP '发展'->点击您已有的PP -> '编辑'->在“设备”部分检查您新添加的设备 ->点击“生成”-> '下载'-> '完毕'
    输入图片这里的描述
  6. 使用您新下载的PP来签署新的开发应用程序
  7. 在测试设备上安装新的应用程序
  8. 庆祝成功

**

I have had exactly same issue and got it resolved by following below steps.

**

Issue description
To clarify, issue (app not installing properly - icon disappears after installation) was occurring only on iOS device (Android version of the same app build was working fine).

Source of issue
In my case issue was cased by the fact that test iPad device I was using, was not registered (added) to the Developer Provisioning Profile my app was using.

Lesson learn
That means iOS Developer App can not be installed on any given test device until this device is added to the Provisioning Profile (PP). Important information also is that once device is added to PP, new PP needs to be generated and App has to be signed using this new PP to complete handshake.

Steps to fix

  1. Login to Apple Developer https://developer.apple.com
  2. Navigate to 'Certificates, Identifiers & Profiles' -> 'Devices'
  3. After verifying you device is not listed here, Click on '+'
    enter image description here
  4. Fill out 'Name' and 'UDID' of you test device and click 'Continue'
    enter image description here
  5. Once device is added to the list, generate new PP by navigating to 'Provisioning Profiles' -> 'Development' -> Click on you existing PP -> 'Edit' -> check you newly added device in 'Devices' section -> click 'Generate' -> 'Download' -> 'Done'
    enter image description here
  6. Use your newly downloaded PP to sign the new Development App
  7. Install new App on the test device
  8. Celebrate success
汹涌人海 2024-11-07 12:03:07

设备的操作系统版本是否低于应用程序的部署目标操作系统级别?

如果是这样,请在目标的临时构建设置中降低应用程序的部署目标,或升级设备的操作系统。

Is the device's OS version below the app's Deployment Target OS level?

If so, lower the app's Deployment Target in the Ad Hoc Build settings for the Target, or upgrade the device's OS.

惯饮孤独 2024-11-07 12:03:07

如果其他人也遇到此问题,请确保您已注册正在测试的设备,并且该设备也已注册到您正在使用的配置

If anyone else has this issue, make sure you have registered the device you're testing on and that device is also registered to the provision you're using

来日方长 2024-11-07 12:03:07

重新启动设备解决了我的问题。重启设备后,该应用再次出现

Restarting the device resolved the issue for me. After restarting the device, the app appeared again

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