Device to Device File Transfer

I have a single project code (Xcode/Swift) the runs on iPhone, iPad, macOS and tvOS and I need to be able to transfer files from a mac to the /Documents folder inside this app on any of those platforms.

  1. copy directly to /Documents - works on macOS to macOS only
  2. use AirDrop - works on macOS to macOS or iOS (but not tvOS)
  3. file transfer using iTunes (I think is still there) works on macOS to iOS

but I cannot file any way to do this for tvOS, with the except of writing a complicated multipeer system

The app is a game, and there are various “level” data files involved (many in the public domain). I would like the user to be able to attach these to the app regardless of platform and without requiring a pHD in Computer Science

I want to avoid iCloud situations, as each user needs to source the data, not me

I would have suggested in app purchase (even if free) would be able to do this but you want USERS to be able to add these in - not purchase them from you or things you provide

hmmmmmm …

regardless of the source, there needs to be a way to tranfser them to the tvOS version of the app

I think I have decided to not go this direction, and embed a specific set of files into the /RESOURCE folder of the app.. I found some files that I should be legally able to use and they contain somewhere around 900 levels

Right
In app purchase can likely do that
Except I think that means YOU, the author, would have to provide them

But you ruled that out I’m assuming for copyright reasons ?

Yes I ruled that out, I dislike, In-App, subscriptions etc. plus the gymnastics required are more effort … and yes, then I’d have to supply them.

for MacOS, it would be easy, just drop files into the AppSupt folder, and iOS could use AirDrop

I think these guys have figured out how

And possibly these guys since a web server on TVOS seem like you’d need to install files ?

Thanks, might try that in the future

I didnt find the specific place where their process installs files on to TVOs but then I didnt spend a lot of time looking through the RetroARch code either