And also, if in the code you use
[UIDevice currentDevice].uniqueIdentifier;
you must chenge to
// Get UUID value NSUUID *uuid = [NSUUID UUID]; // Convert UUID to string and output result NSLog(@"UUID: %@", [uuid UUIDString]);
The result looks something like this:
UUID: A84AFC3C-B3A7-31C7-B3E9-234AF423C6B1
source share