升级ios应用程序时钥匙串数据丢失
我的应用程序是使用 React Native 构建的。我计划发布我的应用程序的新版本,目前正在通过 TestFlight 测试新版本。每当我在 testflight 中从旧应用程序升级到这个新应用程序时,存储在钥匙串中的旧应用程序数据都会被删除。新应用程序不会修改与钥匙串数据相关的任何内容。
解压 ipas 后,我使用以下命令检查了旧 IPA 和新 IPA 的权利 -> codesign -d --entitlements :- "Payload/myApp.app"。两个应用程序的权利相同。
我还检查了此链接 - 更新应用程序后钥匙串数据丢失在 iOS 上。但答案不适用于我。
此外,我运行了以下命令 -> 安全 cms -D -i“Payload/myApp.app/embedded.mobileprovision”。我发现新应用程序中添加了额外的密钥。这是。 “DER 编码配置文件”。
新应用程序升级删除数据的可能原因是什么?
My application is built using React Native. I am planning to release the new version of my app and currently testing the new release through TestFlight. Whenever I upgrade from the old app to this new app in testflight, old app data stored in the keychain gets deleted. The new application is not modifying anything related to keychain data.
I checked entitlements of both old and new IPA using the following command after unzipping the ipas -> codesign -d --entitlements :- "Payload/myApp.app". Entitlements are same for both apps.
I have also checked this link - Keychain data lost after updating the app on iOS. But answers are not applicable to me.
Additionally, I ran the following command ->
security cms -D -i "Payload/myApp.app/embedded.mobileprovision". I found that there is extra key added in the new app. It is. "DER-Encoded-Profile".
What could be possible reasons that the new app upgrade is deleting data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论