To uniquely identify an App in iOS 6 and above you use this code:
UIDevice.currentDevice().identifierForVendor
Is there an equivalent for Mac OSX?
For the record and users searching SO for this matter: Apple documentation about validating a purchase receipt gives the implementation tip to get the GUID of a Mac, as the equivalent procedure for identifierForVendor: Get the GUID in macOS
It is MAC address based, but is the choice of Apple for purchase hash control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With