I'm hitting the same problem as StarGazerI. I have a private framework that just has a single version of 1. Xcode throws an error while trying to sign Versions/A, which does not exist. This happens when Code Sign On Copy is checked in a Copy Files Build Phase.If I copy the failing codesign command and run it in Terminal on the same framework, it works if I use:/usr/bin/codesign --force --sign mykey --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/karl/Library/Developer/Xcode/DerivedData/CreateInstance-fzlvjftxqybywnftwjerjoginndb/Build/Products/Debug/foo.framework/Versions/1or/usr/bin/codesign --force --sign mykey --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/karl/Library/Developer/Xcode/DerivedData/CreateInstance-fzlvjftxqybywnftwjerjoginndb/Build/Products/Debug/foo.frameworkIt seems that Xcode is intent on expecting a Version/A in the framework, which is not strictly required according to the various Frameworks and codesign