Add codesign to private key ACL without Keychain

前端 未结 4 1861
萌比男神i
萌比男神i 2020-12-28 08:45

I\'m trying to set up continuous builds/integration for a stable of iPhone apps.

I have:

  • A dedicated Mac Mini.
  • A user account named \"build\"<
4条回答
  •  一生所求
    2020-12-28 09:06

    I found a solution by doing an applescript that "Clicks" the "Always Allow" button after having no luck with security or certtool for adding the ACL privileges.

    #!/usr/bin/osascript
    tell application "System Events"
      tell window 1 of process "SecurityAgent"
        click button "Always Allow" of group 1
      end tell
    end tell
    

提交回复
热议问题