Xcode 10, Command CodeSign failed with a nonzero exit code

后端 未结 30 2881
忘掉有多难
忘掉有多难 2020-12-02 05:49

Everytime I build console is showing this message.

CodeSign /Users/admin/Desktop/AppStoreBuild/Project201/build/Debug-iphonesimulator/Project.app (in

30条回答
  •  醉酒成梦
    2020-12-02 05:51

    I was experiencing this issue due to the misconfiguration of my Apple Worldwide Developer Relations Certification Authority certificate.

    I resolved issue by switching from "Alway Trust" to "Use System Defaults"

    Step by Step:

    1. Open KeyChain
    2. Click on "login" keychain (make sure it's unlock - if it's locked Right Click on it and choose "Unlock KeyChain")
    3. Click on Certificates and locate Apple Worldwide Developer Relations Certification Authority certificate
    4. Right click on it and choose Get info
    5. Expand Trust section and change settings to Use System Defaults as per below screenshot

提交回复
热议问题