我如何获取任何应用程序(不是我开发的)的identifierForVendor?

发布于 2025-01-09 03:22:43 字数 682 浏览 0 评论 0原文

我的目标是获取 identifierForVendor对于 App Store 中我开发也无权访问的特定应用程序。假设这个应用程序的捆绑包 ID 是 com.example.app

作为序言,我能够通过嗅探网络请求来获取 com.example.app 的identifierForVendor。然而,这不是为多个设备获取它的有效或可扩展的方式。所以,我正在研究其他方法。

我尝试通过在 Xcode 上使用捆绑包 id com.example.test 创建自定义 iOS 应用程序来获取 com.example.app 的identifierForVendor

我希望identifierForVendor 会考虑到他们的文档指出具有相同捆绑包 id 的应用程序将具有相同的identifierForVendor,但事实并非如此。看来identifierForVendor也是基于开发者资料什么的。

我是否可以获取外部应用程序的这个identifierForVendor 值?

My goal is to obtain the identifierForVendor for a specific app that is on the App Store and that I have NOT developed nor have access to. Lets say this app's bundle id is com.example.app

And just to preface, I was able to grab the identifierForVendor of com.example.app by sniffing the network requests. However, this is not an efficient or scalable way to get it for multiple devices. So, I am looking into other methods.

I have tried to get the identifierForVendor of com.example.app by creating a custom iOS app on Xcode with the bundle id com.example.test

I was hoping the identifierForVendor would be the same considering their documentation notes that apps with the same bundle id will have the same identifierForVendor, but it was not. It seems that the identifierForVendor is also based on the developer profile or something.

Is there anyway for me to get this identifierForVendor value of an external app?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笑叹一世浮沉 2025-01-16 03:22:43

简短的回答是你不能。

Apple 没有提供有关如何计算此标识符的任何详细信息。

对于每台设备上给定开发人员具有相同初始捆绑 ID 组件的应用程序,该标识符是唯一的。

例如,捆绑 ID 为 com.example.app1com.example.app2 的应用(均来自 developer1)将具有相同的 给定设备上的identifierForVendor

同一设备上但来自不同开发者且捆绑 ID 为 com.example.app3 的应用将具有不同的 identifierForVendor;这是供应商的位。

即使您使用相同的捆绑包 ID 前缀,您也不会获得与其他开发人员的应用程序相同的标识符。

您还应该注意:

当应用程序(或来自同一供应商的另一个应用程序)安装在 iOS 设备上时,此属性中的值保持不变。当用户从设备中删除该供应商的所有应用并随后重新安装其中一个或多个应用时,该值会发生变化。

The short answer is that you cannot.

Apple does not provide any details on how this identifier is computed.

The identifier is unique for apps with the same initial bundle id components for a given developer on each device.

For example, apps with bundle ids com.example.app1 and com.example.app2, both from developer1 would have the same identifierForVendor on a given device.

An app with the bundle id com.example.app3 on the same device but from a different developer would have a different identifierForVendor; that is the for vendor bit.

Even if you use the same bundle ID prefix you won't get the same identifier as an app from another developer.

You should also note:

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文