Over SSH, first run this command and enter the password:
security unlock-keychain
Question
When I connect to my MacBook over SSH and run this code:
titanium build \
--force \
--platform ios \
--device-family universal \
--target dist-adhoc \
--distribution-name "[NAME]" \
--pp-uuid "[UUID]" \
--output-dir "./"
I get the following error:
** BUILD FAILED **
The following build commands failed:
CodeSign build/Release-iphoneos/App.app
Solution
Over SSH, first run this command and enter the password:
security unlock-keychain