我如何获取任何应用程序(不是我开发的)的identifierForVendor?
我的目标是获取 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简短的回答是你不能。
Apple 没有提供有关如何计算此标识符的任何详细信息。
对于每台设备上给定开发人员具有相同初始捆绑 ID 组件的应用程序,该标识符是唯一的。
例如,捆绑 ID 为
com.example.app1
和com.example.app2
的应用(均来自 developer1)将具有相同的给定设备上的identifierForVendor
。同一设备上但来自不同开发者且捆绑 ID 为
com.example.app3
的应用将具有不同的identifierForVendor
;这是供应商的位。即使您使用相同的捆绑包 ID 前缀,您也不会获得与其他开发人员的应用程序相同的标识符。
您还应该注意:
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
andcom.example.app2
, both from developer1 would have the sameidentifierForVendor
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 differentidentifierForVendor
; 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: