Xcode 10, Command CodeSign failed with a nonzero exit code

后端 未结 30 2877
忘掉有多难
忘掉有多难 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 06:05

    In Xcode: Go to Preferences Logout of the current user.

    Close Xcode

    In Keychain: Go to Login and All items

            - Sort by kind
                 - remove "Apple Worldwide Developer Relation Certification Authority"
                 - remove "Developer ID Certification Authority"
                 - remove "iPhone Developer ...."
    

    Open Xcode

    Go to Preferences and Login to you user apple account

    • This will reload your developer certificates you previous deleted Rebuild the project (Should be a successful build)

    Run the build on your native device

提交回复
热议问题