export public key from keychain access

前端 未结 3 1119
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-31 11:55

I want to archive my app for distribution on two computers. I exported the private key successfully and imported it to my second machine, however run into errors when imported t

3条回答
  •  长情又很酷
    2021-01-31 12:32

    It's been broken since 2009 as reflected in this bug report.

    In case that report wanders off the internet, here's the relevant instructions to import a public key pem file. You'll want to execute this in Terminal.

    security import pub_key.pem -k ~/Library/Keychains/login.keychain
    

提交回复
热议问题