I was updating a Mac OS App.
As I had to change my appleID password, I was asked to recreate the signing information.
I may not remember everything, but at some point I was required revoke signing certificate ; then I was asked to enter keychain.
At the end I refused to access keychain.
And now, I'm locked, unable to compile the app, getting the following error:
error: Failed with exit code 1
here is an extract of the log
Probing signature of /Users/me/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib
/usr/bin/codesign -r- --display /Users/claudericaud/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib
Codesigning /Users/me/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib
/usr/bin/codesign --force --sign 2502A0C5446D7D46C14F1972CF87507125827533 --verbose /Users/me/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib
/Users/me/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib: replacing existing signature
/Users/me/Library/Developer/Xcode/DerivedData/Test_For_XCode10_3_OSX-hgoylqhnqqltefdmpqegbnxnssog/Build/Products/Release/Test For XCode10_3 OSX.app/Contents/Frameworks/libswiftDarwin.dylib: errSecInternalComponent
I have tried to create a new MacOS project, same issue.
However, I can still compile IOS projects.
So I suspect I have something to clear in my MacOS certificates, but would need advice to avoid creating more mess.
What should I change ? How to restore access to the keychain if needed ?
Thanks