Access Device Storage Xamarin iOS - ios

I'm looking for a way to see my app contents on the device the app is being ran on using Xamarin iOS. I would like to do this while debugging the app.
On android this can be viewed through DDMS and then Device File Storage so I'm looking for the same or similar process for Xamarin iOS.
I have also researched and found that you can do this using XCode so I'm hoping its possible through Xamarin also.
Device is iPhone/iPad.

The contents of your app will be saved locally on your mac when debugging, But the location is dynamic and abit hard to find. I use the following tool and it makes it very easy to access all the data I need. https://simpholders.com/

Related

Deploying app for personal use on iOS device

I want to build a very simple gallery like app (which uses the Telegram bot API to fetch images from certain telegram channel). I want to have this app for both Android and iOS device. I guess either progressive web app or flutter could be used to achieve this. I have developed native android apps before, and wish to learn PWA or flutter along with this project.
So my question is, can I deploy this app to my iOS device without enrolling in the Apple developer program? Since this is only for personal use and I do not wish to publish this app on any app store. Also, do I need to have a Mac with Xcode to do this?!
Thanks in advance!
For developing a Progressive Web App for iOS, you won't need Xcode and a Macbook since it is basically still a website with enhancements. However, bear in mind that PWA support on iOS is very limited. Android has much better PWA support.
This article gives an overview of what is currently possible

Is there a tool to test iOS apps on a Mac without access to source code?

I'd like to be able to test an app that's available in the iOS App Store from my Mac. I don't have access to the source code. Is there any method/program for being able to do this?
Is there any way I transfer the app from an iOS device to my mac and run that app on xCode?
Thanks in advance.

Retrieve XCode Project from iOS app?

If I have an app I developed installed on my device, can I retrieve the original code?
I seem to have misplaced the XCode project between my different computers and hard drives for an old app I made. However, I still have the app installed on my iPad. I really need some of the code from this app. Can I possibly plug my iPad into my mac and retrieve some of the code from my iPad? (I know some stats are visible in iTunes. Can I view the app info there?)
A compiled app doesn't contain any of the app's Swift or Objective-C source code.

IDevice ConnectToService on iOS 8.3

I develop a Mac OS application that transfers files to the Documents folder of an iOS app over USB using IDIDevice. The app is also developed by me.
With the release of iOS 8.3, I am finding that calls to connectToService always return false; and so I am unable to load files to the device.
E.g.
bool returnval = [iDevice connectToService:applicationName];
I've tested other applications that use a similar approach (e.g. Diskaid/iMazing) and they seem to be suffering from the same issue.
While researching to find a solution, I came across this question already asked on AskDifferent: Cannot browse App documents after upgrading to iOS 8.3
Is there any known workaround that I can use, that will avoid a large re-write of my application?
If not, is there an alternative method that I can use to load files into the Documents folder of an app that will still work?
UPDATE: After further testing, I've discovered that this issue occurs when I test with an iOS app installed from the app store. However, if I build an enterprise iOS app; everything works fine.

How to transfer a file from a Mac application to an iOS viewer?

We would like to develop a feature similar to what exists in InDesign: when you create a "folio", you can preview it in an iOS "viewer" app, providing:
the iOS device is connected to the Mac with a USB cable
the "viewer" is opened on the iOS device.
The description of this feature is available at http://helpx.adobe.com/digital-publishing-suite/help/preview-folios-articles.html#use_preview_on_device.
There are 2 questions:
how can InDesign detect that the "viewer" app is opened on the device?
how can InDesign transfer a file to the iOS device, and have the "viewer" open the file?
We are aware that file transfer is possible using iTunes, but it's not the method used by InDesign (the way they do it is much more simple and straightforward).
Googling or searching on Stack Overflow does not seem to provide reliable answers so far.
Well, accessing iOS devices from USB is not authorized by Apple, so you got three possibilities :
Use MobileDevice private framework from Apple, you can read files from your app using the Document folder of you app via AFC.
Use libmobiledevice, an open-source and cross-platform library, same as MobileDevice but not so stable across iOS versions.
Use usbmux tunnel to connect to your app via sockets (require MobileDevice or libimobiledevice)
I think that usbmux is the best solution, the protocol used in usb never changed a lot and is very stable, even in libimobiledevice.

Resources