Skip to content

Instantly share code, notes, and snippets.

@0xc010d
Created June 12, 2013 22:18
Show Gist options
  • Save 0xc010d/5769626 to your computer and use it in GitHub Desktop.
Save 0xc010d/5769626 to your computer and use it in GitHub Desktop.
PackageApplication patch which allows keychain specifying for codesign
24a25
> "keychain|k=s",
156a158,162
> if ( $opt{keychain} ) {
> push(@codesign_args, '--keychain');
> push(@codesign_args, $opt{keychain});
> }
>
268c274
< PackageApplication [-s signature] application [-o output_directory] [-verbose] [-plugin plugin] || -man || -help
---
> PackageApplication [-s signature] [-k keychain] application [-o output_directory] [-verbose] [-plugin plugin] || -man || -help
272a279
> -k keychain name to use in a codesign
287a295,298
> =item B<-k>
>
> Keychain name which should be used in a codesign. If provided, the application will search for identity common name in a specified keychain.
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment