iOS app迁移遇到的坑
2018-08-01 本文已影响69人
Cherry_06
由于公司业务变线上app做了迁移,最近升级开发完成后在testFlight测试,遇到了一个大写的坑:旧版app keychain保存的数据不见了!查找相关资料,原来是因为keychain保存数据时用到了teamId,而迁移后teamId变了。
以下是找到的参考资料,如果早点看到就好了
Does keychain continue to work after an app is transferred?
Keychain will continue to work until an update to the app is made. To continue using keychain after an app update, the recipient must update the bundle information to include the Team ID and ensure that the keychain is correctly programmed.
Details about keychain programming should be discussed with the transferor before the app transfer.