Skip to content

Instantly share code, notes, and snippets.

@prime31
Created July 9, 2013 03:47
Show Gist options
  • Save prime31/5954545 to your computer and use it in GitHub Desktop.
Save prime31/5954545 to your computer and use it in GitHub Desktop.
export "CODESIGN_ALLOCATE=\"/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate\""
# run this for each bundle executable in the Contents/Plugins folder
codesign string.Format( "-f -s \"{0}\" {1} \"{2}\"", certificateName, entitlementsCommand, pathToApp )
productbuild string.Format( "--component \"{0}\" /Applications --sign \"{1}\" --product \"{2}\" \"{3}\"", _pathToAppBundle, _certificateSigner, plistPath, packageFilename )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment