Unid is an application for macOS used to get the UDID from an iOS device attached to your Mac via USB.

This app does not have the system sandbox turned on, so right click it, and click open for it to open.

This should work on macOS 10.10 and above and has been tested on Mojave.

Download Unid for macOS (Unid.zip 763kb)