Codesign returned unknown error -1=ffffffffffffffff

后端 未结 8 1387
傲寒
傲寒 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:15

    @madhu I have been trying to fix the same issue and found that Access Control for the key associated with the certificate in question was set to "Confirm before allowing access" which didn't work in Jenkins. I modified it (thru Keychain Access gui - Get Info, Access Control) to "Allow all applications to access this item" and my build was successful.

    0 讨论(0)
  • 2020-12-03 00:17

    Got the same issue but while archiving directly from Xcode. Sharing the solution in case it helps.

    Sometimes, Keychain seems to end up in a corrupted state. Using MacOS Sierra too.

    Symptoms :

    Relogin needed to access Accounts after restarting Xcode

    Prompting for password while using Keychain Access for some operations

    Keychain Access - Error while accessing login keychain via Change Settings for Keychain ...

    What fixes it for me is locking and unlocking (password required) the involved Keychain, login in my case.

    0 讨论(0)
提交回复
热议问题