Я следую приведенным здесь инструкциям, чтобы сгенерировать сертификаты для подписания моего приложения: https://help.apple.com/developer-account/# / devbfa00fef7
К сожалению, я не могу кодировать свое приложение с помощью следующей команды:
codesign --sign "Developer ID Application: My company (XXXXXX)" Test.app --deep
Developer ID Application: My company (XXXXXX): no identity found
Я попытался перечислить свою личность с помощью следующей команды, но безуспешно:
security find-identity
Policy: X.509 Basic
Matching identities
1) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Distribution: My Company (XXXXXXXXXX)"
2) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "3rd Party Mac Developer Installer: My Company (XXXXXXXXXX)"
3) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Development: Martin Delille (XXXXXXXXXX)"
4) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Distribution: My Company (XXXXXXXXXX)"
5) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Development: Martin Delille (XXXXXXXXXX)"
6) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Mac Developer: Martin Delille (XXXXXXXXXX)"
6 identities found
Valid identities only
1) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Distribution: My Company (XXXXXXXXXX)"
2) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "3rd Party Mac Developer Installer: My Company (XXXXXXXXXX)"
3) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Development: Martin Delille (XXXXXXXXXX)"
4) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Distribution: My Company (XXXXXXXXXX)"
5) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Apple Development: Martin Delille (XXXXXXXXXX)"
6) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "Mac Developer: Martin Delille (XXXXXXXXXX)"
6 valid identities found
Как видите, мой Developer Id Application сертификат находится в моем брелок: