Files
textmate/bin/sign_app
Allan Odgaard 434917b1e9 Use custom script to simulate “codesign --deep”
The problem is that with a bad internet connection there is a very high probability that “codesign --deep” will fail due to having to contact the timestamp server for each embedded executable object.

Long-term we probably want to sign the sub-targets as they are produced and/or link the entire thing together so that there is only a single sign target (plus embedded plug-ins).
2013-12-01 14:35:09 +07:00

13 lines
251 B
Bash
Executable File

#!/bin/bash
identity=$1
app_path=$2
until codesign -fs "${identity}" "${app_path}"; do
for lib in "${app_path}"/Contents/{Frameworks/*.{framework,dylib},PlugIns/*.tmplugin}; do
codesign --timestamp=none -s "${identity}" "${lib}"
done
done
true