Add a note about codesign breaking due to network congestion

This commit is contained in:
Kovid Goyal 2014-12-20 09:59:35 +05:30
parent 9339ed74f1
commit 328f6231c5

View File

@ -20,6 +20,11 @@ def current_dir(path):
def codesign(items):
if isinstance(items, basestring):
items = [items]
# If you get errors while codesigning that look like "A timestamp was
# expected but not found" it means that codesign failed to contact Apple's time
# servers, probably due to network congestion, so add --timestamp=none to
# this command line. That means the signature will fail one your code
# signing key expires and key revocation wont work, but...
subprocess.check_call(['codesign', '-s', 'Kovid Goyal'] + list(items))
def files_in(folder):