gpt4 book ai didi

ios - 从 identifierForVendor 计算包标识符

转载 作者:行者123 更新时间:2023-11-28 21:46:28 25 4
gpt4 key购买 nike

这可能吗?从 identifierForVendor 字符串,反向计算嵌入的包标识符?

最佳答案

如果有办法逆转它,(我认为这是不可能的)你无论如何都无法获得整个 bundleID。

Apple's docs on vendorID

Normally, the vendor is determined by data provided by the App Store. If the app was not installed from the app store (such as enterprise apps and apps still in development), then a vendor identifier is calculated based on the app’s bundle ID. The bundle ID is assumed to be in reverse-DNS format.

On iOS 6, the first two components of the bundle ID are used to generate the vendor ID. if the bundle ID only has a single component, then the entire bundle ID is used.

On IOS 7, all components of the bundle except for the last component are used to generate the vendor ID. If the bundle ID only has a single component, then the entire bundle ID is used.

如果您需要可以使用的包 ID。

[[NSBundle mainBundle] bundleIdentifier]

关于ios - 从 identifierForVendor 计算包标识符,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29981748/

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