Device UDID

Hi,

Is there a way where programmatically obtain device UDID on Xcode 15 or Swift 5?

Aware there are two different sets, UDID & UUID. What I'm looking for is UDID. As per research seems impossible.

Help on this would be appreciated.

That functionality was disabled a long time ago due to privacy concerns.

You can get an identifier that remains the same as long as one of your apps is installed, but if they are deleted and installed again, a new one is assigned...

https://developer.apple.com/documentation/uikit/uidevice

identifierForVendor

Device UDID
 
 
Q