问题描述:

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.

网友答案:

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>

网友答案:

I just found! Windows users can use iExplorer!

  1. Start iExplorer (available at this URL http://www.macroplant.com/iexplorer/)
  2. Connect iOS device to PC using USB cable
  3. Find this folder: "Apps" > [YOUR_APP] > "Documents"
  4. Drag and Drop the bundle/package into "Documents" folder

Note: A bundle/package on Mac is simply a folder on Windows. There is no need to have any file extension like .pkg on Windows.

相关阅读:
Top