16 Mar XCode 4 Code Sign Error and Switching Keychains
So if you’re like me and you have a ton of different keychains for all the various projects and clients you’re working with to handle the different developer certificates, then you might have run into this issue. The issue is if you switch keychains while XCode 4 is running, it will still fail to build with a “Code sign error: The identity bla bla bla”. Well the simple fix to this is close the project and re-open it. You’ll need to do this anytime you switch keychains for your builds.
If anyone has found a more elegant solution, please leave a comment below.