How to install developer certificate/private key and provisioning profile for iOS development via command line?

后端 未结 3 1609
Happy的楠姐
Happy的楠姐 2020-12-12 13:25

I\'m configuring automated build server for iOS application project. I\'ve done most of it. Now, it\'s the final round. The security.

Developer certificate/private k

3条回答
  •  囚心锁ツ
    2020-12-12 13:46

    The always allow GUI is being triggered because codesign hasn't been given an acl to access your private key. try this:

    security unlock-keychain -p 
    security import Certificate.p12 -k ~/Library/Keychains/login.keychain -P password -T /usr/bin/codesign
    

    The -T flag tells security to allow codesign to have access to the keys you are importing in Certificate.p12.

提交回复
热议问题