apple_codesign::notarization

Function bundle_to_zip

Source
pub fn bundle_to_zip(
    bundle: &DirectoryBundle,
) -> Result<Vec<u8>, AppleCodesignError>
Expand description

Produce zip file data from a DirectoryBundle.

The built zip file will contain all the files from the bundle under a directory tree having the bundle name. e.g. if you pass MyApp.app, the zip will have files like MyApp.app/Contents/Info.plist.