Codesign returned unknown error -1=ffffffffffffffff

后端 未结 8 1431
傲寒
傲寒 2020-12-02 23:43

I tried to code sign an iOS application, These are the steps that i followed

    security create-keychain -p password ${KEYCHAIN}
    security set-keychain-s         


        
8条回答
  •  执笔经年
    2020-12-03 00:00

    This happens in a headless build because the prompt for key access cannot be shown or responded to. The solution is to prevent that prompt from showing by granting access to the key in advance.

    Open Keychain Access, find the key for your signing certificate (login-> Certificates, then expand the certificate to reveal its key). Right-click on the key and select: Get Info -> Access Control, and select "Allow all applications to access this item".

提交回复
热议问题