Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Last active August 29, 2015 14:00
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save BanzaiMan/11152878 to your computer and use it in GitHub Desktop.
XCode code signing issue with OS X Mavericks images

Issue

Users report issues with code signing their Objective-C based project with the newly-rolled out Mavericks image on Travis CI.

The error looks something like:

Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings ("Chappy Dev Adhoc") were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

Workaround

A couple of users have reported that setting the keychain in use to be the default will fix this issue. For example:

security default-keychain -s ios-build.keychain
security unlock-keychain -p travis ios-build.keychain
@davebcn87
Copy link

Wow! Thank you very much for this gist. This error was driving me crazy and your workaround works perfect!

@kharmabum
Copy link

👍

@BanzaiMan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment