Alternate Titles
(to aid search)
- Xcode 'CodeSign error: code signing is required'
- Xcode: iPhone app codesign error
- /usr/bin/codesign failed with exit code 1
- Jenkins fails with Code Sign error
- Command-line build fails with "provisioning profiles not found"
- Archiving Xcode project fails with provisioning error
- Missing signing certificates in Xcode
Symptoms
The issue manifests it's self in one of several ways:
Running your app on a device results in an error referencing "code signing" or "expired signing certificates"
Building from the command line (or using a continuos integration system, such as Jenkins) fails with a error similar to this:
Check dependencies Code Sign error: No unexpired provisioning profiles found that contain any of the keychain's signing certificates
Archiving an app fails with "code signing" or "expired signing certificates" where a run or build work correctly.
Often the project may have several configurations and sometimes only a subset will fail. Deleting and regenerating provisioning profiles has no effect.