I have to generate an unique ID for each device. Right now, I take device's unique ID with this way:
let uniqueStr = UIDevice.current.identifierForVendor?.uuidString
But in App Store Submission, this error come up:
Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again.
My app has nothing to do with advertisement at all. Is there any way to get unique ID without getting this IDFA error?