Can I use the APP I wrote to store the generated files in USB Storage?

I want to develop an APP, but due to the usage scenario, it must first read the configuration file from the external device (USB Disk) before subsequent operations can be performed. After the operation is completed, the generated binary file can be stored back to the USB Disk, currently it seems that you can only manually move files from USB to Files App, and then manually move them to USB Disk after the processing is completed; is there a way to directly access USB Disk?

Posted on Oct 30, 2023 9:37 AM

Reply
4 replies

Oct 30, 2023 4:16 PM in response to LouisLu129

I wouldn’t be looking to use this approach with that USB dongle, either until much later in the development cycle, or at all, depending on what the general requirements might be here.


Given you’ve described one potential implementation and not the overarching goals and requirements for the app development project, proposing an alternative implementation—other than maybe hosting the contents of that dongle elsewhere, of course—doesn’t seem feasible.


This approach parallels some traditional app licensing and app customization schemes, and there are other ways to license apps that don’t involve USB dongles. NFC might be an option there, or a login into your own servers, or some other such. Or this dongle might have a different usage.


To discuss this in more details (without posting here), Apple is running one-on-one developer sessions again, starting November 5th. Schedule one of those, describe your goals and requirements, and then ask for feedback on your proposed implementation, and for other potential implementations.


Meet with Apple Experts - Apple Developer

Oct 30, 2023 10:17 AM in response to LouisLu129

LouisLu129 wrote:

Can you talk about the scenario you propose?

I haven't proposed anything.


I'm just saying that any app that depends on an external USB disk being connected is a bad idea. If you want to write an app, write one that works on a computer fresh out of the box. If you want to add support for extra things, that's fine. But there are lots of security hoops to jump through with external drives.

Can I use the APP I wrote to store the generated files in USB Storage?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.