{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3072","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3072/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3072/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3072/events","html_url":"https://github.com/travis-ci/travis-ci/issues/3072","id":53187184,"number":3072,"title":"Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID (XXXX) were found.","user":{"login":"marciok","id":311156,"avatar_url":"https://avatars.githubusercontent.com/u/311156?v=3","gravatar_id":"","url":"https://api.github.com/users/marciok","html_url":"https://github.com/marciok","followers_url":"https://api.github.com/users/marciok/followers","following_url":"https://api.github.com/users/marciok/following{/other_user}","gists_url":"https://api.github.com/users/marciok/gists{/gist_id}","starred_url":"https://api.github.com/users/marciok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marciok/subscriptions","organizations_url":"https://api.github.com/users/marciok/orgs","repos_url":"https://api.github.com/users/marciok/repos","events_url":"https://api.github.com/users/marciok/events{/privacy}","received_events_url":"https://api.github.com/users/marciok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-31T14:56:36Z","updated_at":"2015-12-10T22:23:48Z","closed_at":null,"body":"Hi I'm trying to build my iOS app using travis and I get this error:\r\n\r\n**Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “J6U58DBP3W” were found.**\r\n\r\nYes, I do export, unlock, add my cert and pem before:\r\nadd-keys.sh:\r\n```shell\r\n#!/bin/sh\r\n\r\nKEY_CHAIN=ios-build.keychain\r\nsecurity create-keychain -p travis $KEY_CHAIN\r\n# Make the keychain the default so identities are found\r\nsecurity default-keychain -s $KEY_CHAIN\r\n# Unlock the keychain\r\nsecurity unlock-keychain -p travis $KEY_CHAIN\r\n# Set keychain locking timeout to 3600 seconds\r\nsecurity set-keychain-settings -t 3600 -u $KEY_CHAIN\r\n\r\n# Add certificates to keychain and allow codesign to access them\r\nsecurity import ./scripts/certs/apple.cer -k $KEY_CHAIN -T /usr/bin/codesign\r\nsecurity import ./scripts/certs/dist.cer -k $KEY_CHAIN -T /usr/bin/codesign\r\nsecurity import ./scripts/certs/dist.p12 -k $KEY_CHAIN -P $KEY_PASSWORD -T /usr/bin/codesign\r\n\r\necho \"Add keychain to keychain-list\"\r\nsecurity list-keychains -s ios-build.keychain\r\n```\r\nand I build:\r\nscript:\r\n```yml\r\nscript:\r\n  - xctool -workspace MyApp.xcworkspace -scheme MyApp -sdk iphoneos -configuration Beta OBJROOT=$PWD/build SYMROOT=$PWD/build ONLY_ACTIVE_ARCH=NO\r\n```\r\nLogs:\r\n\r\n```shell\r\n# ./scripts/add-key.sh\r\n1 certificate imported.\r\n1 certificate imported.\r\n1 identity imported.\r\n```\r\n```shell\r\nFailures:\r\n  0) Check dependencies\r\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\r\nCheck dependencies\r\nCode Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “J6U58DBP3W” were found.\r\n```\r\n:disappointed: "},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/163766849","html_url":"https://github.com/travis-ci/travis-ci/issues/3072#issuecomment-163766849","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/3072","id":163766849,"user":{"login":"postmechanical","id":133463,"avatar_url":"https://avatars.githubusercontent.com/u/133463?v=3","gravatar_id":"","url":"https://api.github.com/users/postmechanical","html_url":"https://github.com/postmechanical","followers_url":"https://api.github.com/users/postmechanical/followers","following_url":"https://api.github.com/users/postmechanical/following{/other_user}","gists_url":"https://api.github.com/users/postmechanical/gists{/gist_id}","starred_url":"https://api.github.com/users/postmechanical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmechanical/subscriptions","organizations_url":"https://api.github.com/users/postmechanical/orgs","repos_url":"https://api.github.com/users/postmechanical/repos","events_url":"https://api.github.com/users/postmechanical/events{/privacy}","received_events_url":"https://api.github.com/users/postmechanical/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T22:23:48Z","updated_at":"2015-12-10T22:23:48Z","body":"Running into this since the past few days."}}