I was tasked with a subject that requires immediate development, but I'm at lost. The task was to make a Mac App to get the UDID (and other information) of an iPhone plugged in a Mac and then export it in a csv file. The same thing can be achieved through iTunes or iPhone Configuration Utility, copy-pasting to Excel or Numbers, but it is very time consuming and the users requested something like this:
-User plugs iPhone on Mac
-User runs app.
-iPhone data is fetched and gets exported to a csv file.
The csv file export is already covered, so what I need right now is a method (as Sarah said in the comments) on the Mac SDK that will let me get those information. After hours on google I found out that I can use IOKit to get information from devices connected fror the USB ports, but nothing else came up specifying on how.
Sorry if it is too simple, I think a simple google search can suffice but I still can't find any leads.Thanks for the help.
EDIT: I now think that it is not that simple. I've gotten to the point of using IOKit to get information from a USB device using this sample. But after that I have no idea what to do. I'm still reading on the IOKit documentation, but if ever there are others who've encountered this and know the solution it would be a great deal of help.