pub fn write_bundle_to_app_store_package(
bundle: &DirectoryBundle,
dest_dir: &Path
) -> Result<(), AppleCodesignError>Expand description
Write a bundle to an .itmsp directory.
In order to upload with Apple Transporter, we need to persist uploaded assets to the local filesystem. And Transporter insists on the uploaded content having a well-defined layout.
This function will write out a bundle into a destination directory, effectively enabling that directory to be uploaded with transporter.
The directory passed should ideally be empty before this is called. The directory
should also be named *.itmsp.