Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn a folder into a bundle/package for iTunes file sharing

iTunes File Sharing for iOS apps allows users to pull down folders from apps via syncing to the device but it doesn't allow the reverse and load in directories from a computer to the device. Is there a way to make a in-app folder a bundle/package like a .app package so that the OS thinks it is a file rather than a directory?

From what I can tell GarageBand for the iPad is doing exactly this for files off the device. The context menu on the exported file in the Finder allows you to "Show Package Contents".

I appended a made up extension to the directory path and it shows up in iTunes as a file, but on export it comes out as a directory.

like image 289
Thushan Amarasiriwardena Avatar asked May 10 '11 16:05

Thushan Amarasiriwardena


1 Answers

The following worked for me:

  1. Rename folder to <foldername>.pkg

  2. Drag it into the file sharing panel

  3. In the file sharing panel, rename it back to <foldername>

like image 176
user1751271 Avatar answered Nov 10 '22 09:11

user1751271