When compiling my application I\'m getting the following error:
CodeSign /Users/pupeno/Library/Developer/Xcode/DerivedData/ProjectX-cynmgyozflnwbpamwnpsnhgsh
I faced this problem after adding fastlane
to upload screenshots to App Store Connect automatically. I had to remove fastlane
from the project and clean
the build folder
to make it work again.
For me, it turned out that I had inadvertently added a bash build script to the target. Making sure I had no sneaky scripts accidentally copied into the target fixed the issue.
For me the solution was to re-Add a resource folder (checking Create groups instead of create folder references).
For me this problem was resolved by a simple "clean build folder" action, keyboard shortcut: shift+option+command+K.
For me I had to go to the Project build settings and set Other Code Signing Flags to --deep
. The problem was that my framework in the project was not signed.
I'll admit codesigning is still a black art to me, but in Xcode 6 I found that removing all of my signing scripts (which were necessary in Xcode 5, along with --deep
flags) and additional signing flags, and just using the "codesign on copy" option in the Framework's Copy Files phase of the build worked flawlessly for me.