Running xcodebuild from a forked terminal

前端 未结 13 1194
说谎
说谎 2020-12-02 04:20

I\'m trying to setup an automated build server for an iPhone application. I\'d like to be able to have nightly adhoc beta builds so that testers can follow the development.<

13条回答
  •  悲哀的现实
    2020-12-02 04:54

    As another poster says,

    security list-keychains -s  "~/Library/Keychains/login.keychain"
    

    But I think you only have access to the login.keychain when you are logged in, in the GUI context (I just tested on a system via SSH and screen, but which I also happen to be logged into via VNC).

    It is apparently possible to use launchctl to select the GUI context and run the program, but I suspect that only works for the "logged in user" too.

    If you try 'security show-keychain-info keychain-file' then you'll get the following error:

    User interaction is not allowed

    And that's a phrase to search with for some more info. The other solution is to put the certificate into your System keychain!

提交回复
热议问题