I have ssh-ed from my machine to my machine to test a script wich builds my app.
I give xcodebuild the following code sign identity:
CODE_SIGN_IDENTITY="iPhone Developer"
The xcodebuild does work if I don't use ssh. But when I use ssh it fails:
No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "team_id" with a private key was found. Code signing is required for product type 'Application' in SDK 'iOS 10.1'
I tried unlocking my login keychain which did not help, as I read that when ssh-ing to your pc doesn't unlock it automaticly as when login trough the GUI.