Add codesign to private key ACL without Keychain

前端 未结 4 1894
萌比男神i
萌比男神i 2020-12-28 08:45

I\'m trying to set up continuous builds/integration for a stable of iPhone apps.

I have:

  • A dedicated Mac Mini.
  • A user account named \"build\"<
4条回答
  •  盖世英雄少女心
    2020-12-28 09:16

    Ok this took me almost half a day to figure out but I now have it working. I was following this article.

    The article shows adding the cert like this with the -A option but this didn't work for me.

    security import "ADistribution.p12" -k appledev -f pkcs12 -A -P ""
    

    This question mentioned the -T option which did work for me.

    security import "Distribution.p12" -k appledev -f pkcs12 -P "" -T /usr/bin/codesign
    

提交回复
热议问题