I need to add a device to my team provisioning profile, however I do not physically have the device so I can\'t hook it up to my computer so Xcode can\'t add the UDID to my
As of Sept 2018, Apple seems to (or a bug) block the normal way to get your XS and XS Max's UDID. Even XCode could not properly register new phones for you.
After a couple hours of digging, I figure it out:
Source