I have accidentally revoked a certificate (the message I got was a revokation for IOS development).
But I cannot anymore compile OSX App either.
I think I can recreate certificates, but I would need to make sure I understand some points before.
And I'm a bit lost by now. And I do't want to cretae problems on the XCode7 that compiles fine.
I developed an App on iMac for OSX, with XCode 7.3. I declared "No signing"
I can copy the app on MBP and run.
I port the code to XCode8 on MBP.
After adfapting to Swift3, with no remaining compile error, when compiling, I get the following error message:
CodeSign /Users/XXXXXXXX/Library/Developer/Xcode/DerivedData/YYYYY-hknqslligudgdhdhpwvfhpbtcilk/Build/Products/Debug/YYYYYY.app
cd "/XXXX/Developpements XCode/ZZZZZZ"
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Mac Developer: SSSSSSSSSSSSSSS"
/usr/bin/codesign --force --sign signature --timestamp=none /Users/claudericaud/Library/Developer/Xcode/DerivedData/YYYYYYYY-hknqslligudgdhdhpwvfhpbtcilk/Build/Products/Debug/YYYYYYYY.app
/Users/XXXXXXX/Library/Developer/Xcode/DerivedData/YYYYYY-hknqslligudgdhdhpwvfhpbtcilk/Build/Products/Debug/YYYYYYY.app: resource fork, Finder information, or similar detritus not allowed
Command /usr/bin/codesign failed with exit code 1
I tried to declare No signing, as for XCode7 : but the option does not exists anymore it seems in XCode8.
Is there a way to ask for no signing in XCode 8 ?
So I looked at accounts in XCode:
On MBP, when doubleClick on Team Agent, I get :
2 IOS Development certificates, untitled, one "Not in Keychain", on revoked (the one accidentally revoked).
1 MacOS Development Certificate for this MBP, valid till end 2017 :
2 MacOS Distribution certificates, but all declared as Not in KeyChain.
Questions:
Should I remove the revoked certificate for IOS ?
What should I do with certificates that are not in the keyChain ? In partiocular for MacOS distribution certificates
On iMac XCode7, doing the same, I get
Signing entities :
Mac Development -> reset action
Question: what the consequence of a reset ?