iTunes File Sharing

I posted this in “General” instead of iOS because the question is actually more related to desktop apps than mobile ones…

But here is the question.

  • Lets say I have a mobile app for iOS (written in Xojo, Swift or ObjC for example)
  • This app has File Sharing turned on, so that when the device is connected to a desktop, its /Documents directory appears in iTunes

Is it possible for a Xojo Desktop application to query that “directory”? Obviously iTunes can do it…
I would like to be able to (via an Xojo app) give the user the ability to copy a file to/from the device…

My first idea is to copy a file from the iOS device, and use the desktop to create charts/reports and other wise analyze a file that the user created while mobile, but without any real interaction such as emailing the file , or having to actually drag it out of iTunes etc.

there seem to be several libs like
http://www.libimobiledevice.org
https://github.com/xslim/mobileDeviceManager
https://github.com/imkira/mobiledevice