Function apple_codesign::stapling::staple_ticket_to_bundle
source · pub fn staple_ticket_to_bundle(
bundle: &DirectoryBundle,
ticket_data: &[u8]
) -> Result<(), AppleCodesignError>
Expand description
Staple a ticket to a bundle as defined by the path to a directory.
Stapling a bundle (e.g. MyApp.app
) is literally just writing a
Contents/CodeResources
file containing the raw ticket data.