简体   繁体   English

iOS中的配置文件缓存问题

[英]Caching of provision profiles issue in iOS

I am using In-House subscription of Apple. 我正在使用Apple 的内部订阅。 I built app and distributed it via web link. 我建立了应用程序并通过Web链接分发了它。 Everything was okay, so I could install this app by calling manifest from iPhone's safari browser. 一切正常,因此我可以通过从iPhone的野生动物园浏览器中调用清单来安装此应用。 Then I revoked certificate and remove provision profile - that causes my app to fail to run (then I found that this happens all the time when you revoke certificate.) 然后,我吊销了证书并删除了配置文件-这导致我的应用无法运行(然后我发现,吊销证书的过程一直存在。)

To make my app working again I created new certificate and in-house provision profile - then I resigned my current .ipa file and replaced it on web server. 为了使我的应用程序再次运行,我创建了新的证书和内部供应配置文件 -然后我辞职了当前的.ipa文件,并将其替换为Web服务器。

Then I tried to install app on different devices 然后我尝试在不同设备上安装应用

  1. I installed it on 1 iPad and it works, I see in settings new provision profile appeared. 我将其安装在1个iPad上,并且可以使用,在设置中看到出现了新的配置文件。
  2. I tried to install same app on 2nd iPad and it fails during installation process. 我试图在第二台iPad上安装相同的应用程序,但在安装过程中失败。 And what is strange it installed old provision profile to my settings (I think this is some kind of caching or whatever). 奇怪的是,它在我的设置中安装了旧的配置文件(我认为这是某种缓存或其他方式)。 I deleted all apps, all profiles and reboot - but no luck - I can't still install this app to this particular iPad. 我删除了所有应用程序,所有配置文件并重新启动-但没有运气-我仍然无法将此应用程序安装到此特定的iPad。

May be someone had same issue, please assist me how should I clean cache if it's related to caching issue. 可能是有人遇到同样的问题,如果与缓存问题有关,请协助我如何清理缓存。

PS I want to fix it without wiping the device PS我想修复它而不擦设备

Is your second iPad connected via USB to your development computer while you're doing this testing? 在进行此测试时,第二台iPad是否通过USB连接到开发计算机? If it is, Xcode's Organizer will often just restore the provisioning profile that you're trying to delete. 如果是这样,Xcode的管理器通常只会恢复您要删除的配置文件。 If this is the case, try deleting it from the Organizer as well. 在这种情况下,也请尝试从管理器中将其删除。

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

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