How do I add authorizations to code sign an app from new keychain without any human interaction

前端 未结 6 1930
甜味超标
甜味超标 2021-02-01 08:09

I\'m trying to automate the process of building iphone apps with a particular certificate. So imagine if different users uploaded their cert into the system and it was immediate

6条回答
  •  难免孤独
    2021-02-01 08:49

    On my system, once the keychain is unlocked with

    security unlock-keychain

    I just let xcodebuild to do both the build and the code signing.

    If your keychanins are unlocked, it shouldn't be necessary to use the above call.

    You might also want to check the command execute-with-privileges of security.

提交回复
热议问题