3 ms·
> Then we also found later that you can't sign an app on OSX while SSH'd into the machine... It just fails with a generic signing error. My guess is that it's
by pyre 10y ago
> Then we also found later that you can't sign an app on OSX while SSH'd into the machine... It just fails with a generic signing error.
My guess is that it's missing something that being logged into a desktop session would have (e.g. Keychain access).
- Klathmon 10y agoIt's been a bit, so I might be wrong on some of the details here, but... I did have keychain access, and was able to fully unlock the keychain and use it in other areas. However after chasing down several issues (including the keychain expiring after 300 seconds by default, moving the keys around between different keychains, various "jump up and down and spin around 3 times"-esque solutions of using multiple commands on the same line, or different lines, or in different orders, or others). I finally eventually figured out that I could unlock the keychain on the system manually, ssh in, then i'd have till it timed out to sign, only to have it be rejected on the upload... Once I moved to just using a remote-desktop software and doing it through the GUI, it just worked. However now it's a 2 step process where our build system does literally everything but the signing then i need to manually remote in and click a button to sign and upload.