gpt4 book ai didi

ios - identifierForVendor 在重新安装时发生变化

转载 作者:技术小花猫 更新时间:2023-10-29 10:37:25 27 4
gpt4 key购买 nike

identifierForVendor 应该在重新安装应用程序时更改:

The value in this property remains the same while the app (or another app from the same vendor) is installed on the iOS device. The value changes when the user deletes all of that vendor’s apps from the device and subsequently reinstalls one or more of them. The value can also change when installing test builds using Xcode or when installing an app on a device using ad-hoc distribution. Therefore, if your app stores the value of this property anywhere, you should gracefully handle situations where the identifier changes.

https://developer.apple.com/reference/uikit/uidevice/1620059-identifierforvendor

不过,我刚刚在应用商店中使用我们的一款实时应用对此进行了测试。即使我们的许多其他应用程序仍安装在设备上,如果我重新安装应用程序 A,identifierForVendor 返回的 UUID 每次都会更改。

不是这样的。

这曾经有效。但在某些时候,UUID 似乎已经开始在“简单重新安装”时发生变化(如上所述)。这是一个已知的错误?与上述文档相比,identifierForVendor 是否已知已损坏?任何解决方法(除了将 UUID 保存到钥匙串(keychain),因为该方法会破坏 iCloud 同步)?

最佳答案

这是一个已知错误。 Apple 似乎对 AppStore 进行了更新,导致 identifierForVendor 在 5 月 28 日左右出现了这种新行为。如果您在 App Developer 论坛中搜索,还有其他开发者报告了同样的问题。

Apple 的签名 gc 已针对此问题做出如下答复:“请在 https://developer.apple.com/bug-reporting > 提交有关此问题的错误报告。我们已了解此问题并正在调查。目前没有已知的解决方法。”

关于ios - identifierForVendor 在重新安装时发生变化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30881478/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com