Hello, I've been having an issue for quite some time now with the UUID. I am using the following:
UIDevice.current.identifierForVendor?.uuidString
UUID().uuidString
In most cases it works perfectly and I receive the uuid, however there have been some occasions where I get nil and there is not a defined model or version, it just happens randomly.