iOS 中配置文件的缓存问题
我正在使用 Apple 的内部订阅。我构建了应用程序并通过网络链接分发它。一切都很好,所以我可以通过从 iPhone 的 safari 浏览器调用清单来安装这个应用程序。然后我撤销了证书并删除了配置文件 - 这导致我的应用程序无法运行(然后我发现当您撤销证书时这种情况总是发生。)
为了使我的应用程序再次工作,我创建了新的证书和内部证书配置文件 - 然后我放弃了当前的 .ipa 文件并将其替换到 Web 服务器上。
然后我尝试在不同的设备上安装应用程序,
- 我将其安装在 1 iPad 上并且它可以工作,我在设置中看到出现了新的配置文件。
- 我尝试在第二台 iPad 上安装相同的应用程序,但在安装过程中失败。奇怪的是它在我的设置中安装了旧的配置文件(我认为这是某种缓存或其他什么)。我删除了所有应用程序、所有配置文件并重新启动 - 但不走运 - 我仍然无法将此应用程序安装到这台特定的 iPad 上。
可能有人有同样的问题,请帮助我如果与缓存问题有关,我应该如何清理缓存。
PS我想修复它而不擦除设备
I am using In-House subscription of Apple. I built app and distributed it via web link. Everything was okay, so I could install this app by calling manifest from iPhone's safari browser. 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.
Then I tried to install app on different devices
- I installed it on 1 iPad and it works, I see in settings new provision profile appeared.
- I tried to install same app on 2nd iPad and it fails during installation process. 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.
May be someone had same issue, please assist me how should I clean cache if it's related to caching issue.
P.S. I want to fix it without wiping the device
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在进行此测试时,您的第二台 iPad 是否通过 USB 连接到您的开发计算机?如果是,Xcode 的 Organizer 通常只会恢复您尝试删除的配置文件。如果是这种情况,请尝试将其从管理器中删除。
Is your second iPad connected via USB to your development computer while you're doing this testing? If it is, Xcode's Organizer will often just restore the provisioning profile that you're trying to delete. If this is the case, try deleting it from the Organizer as well.