I have just upgraded to XCode 6 and tried to build my Developer ID signed Mac app. However, I now get the following codesign error:
unsealed contents present
I had the same problem and what worked for was deleting the contents of the DerivedData folder. Xcode doesn't say which resource is causing the problem, so I rebuilt everything from scratch. Clean didn't work either.