Anoop Vaidya
Anoop Vaidya

Reputation: 46533

Codesign issue for the Project

This question has been asked Xcode Command /usr/bin/codesign failed with exit code 1 : errSecInternalComponent and Xcode ios app development code signing and I followed every answer given there but no luck for me.

The issue started when I got a new certificate, and I added it in the keychain and removed the older one. Now I am getting the following error.

Any help will be highly appreciated.

enter image description here

Upvotes: 0

Views: 99

Answers (1)

Anoop Vaidya
Anoop Vaidya

Reputation: 46533

After spending the entire night, I finally got the fix.

Open the Keychain and check if any of the Certificates are having + symbol. Double click and set it to "Use System Defaults" rather than "Always Trust".

That's it.

Edit:

The Keychain window as of now you see couple of items having a blue-plus, because they are set to "Always Trust". Change it to "System Defaults" by double clicking and editing its value, it will ask the keychain password for verfication.

enter image description here

Upvotes: 1

Related Questions