Note that there are some explanatory texts on larger screens.

plurals
  1. POMethod for getting iPhone information from a Mac App
    text
    copied!<p>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:</p> <p>-User plugs iPhone on Mac</p> <p>-User runs app.</p> <p>-iPhone data is fetched and gets exported to a csv file.</p> <p>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.</p> <p>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.</p> <p><strong>EDIT</strong>: 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 <a href="http://developer.apple.com/library/mac/#samplecode/USBPrivateDataSample/Listings/USBPrivateDataSample_c.html#//apple_ref/doc/uid/DTS10000456-USBPrivateDataSample_c-DontLinkElementID_4" rel="nofollow">this sample</a>. 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.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload