I downloaded and installed the WWDR certificate. I tried setting it to Always Trust and system defaults.
When I try to archive my application, I get CSSMERR_TP_NOT_TRUSTED error.
If I try to sign up manually, I get the same thing:
/ usr / bin / codesign --force --sign "Third-party application for Mac developers: XX XXX-XXX" / Users / XXX / Library / Developer / Xcode / DerivedData / XXX -fivqootinaolitdbpxccqykoaoqs / ArchiveIntermediates / XXX / InstallationBuildProductsLocation / Users / XXX /Applications/XXX.app
/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-fivqootinaolitdbpxccqykoaoqs/ArchiveIntermediates/xxx/InstallationBuildProductsLocation/Users/xxx/Applications /xxx.app: replacing invalid Users xive / / xxx / Appx / ActiveXData and Library xxx -fivqootinaolitdbpxccqykoaoqs / ArchiveIntermediates / xxx / InstallationBuildProductsLocation / Users / xxx / Applications / xxx.app: CSSMERR_TP_NOT_TRUSTED
BUT
If i use
sudo / usr / bin / codesign --force --sign
Then it works ....
The key is set to access the key chain in the "entry" chain.
source share