{"id":1992,"date":"2015-07-11T01:25:51","date_gmt":"2015-07-11T05:25:51","guid":{"rendered":"http:\/\/www.rexfeng.com\/blog\/?p=1992"},"modified":"2015-07-11T01:25:51","modified_gmt":"2015-07-11T05:25:51","slug":"xcode-fix-code-sign-error-no-matching-provisioning-profiles-found","status":"publish","type":"post","link":"https:\/\/www.rexfeng.com\/blog\/2015\/07\/xcode-fix-code-sign-error-no-matching-provisioning-profiles-found\/","title":{"rendered":"Xcode Fix Code Sign error: No matching provisioning profiles found"},"content":{"rendered":"<p>While updating my <a href=\"https:\/\/itunes.apple.com\/us\/app\/pomodoro-pro\/id966415847?ls=1&amp;mt=8\">pomodoro apple watch app<\/a>, I ran into an issue building my app with the latest Xcode (v6.4). The error was:<\/p>\n<blockquote><p>Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices:<br \/>\niPhone6<br \/>\nCodeSign error: code signing is required for product type &#8216;WatchKit App&#8217; in SDK &#8216;iOS 8.4&#8217;<\/p><\/blockquote>\n<p>First, I double-checked that my device was registered by UDID in the <a href=\"https:\/\/developer.apple.com\/account\/ios\/device\/deviceList.action?deviceClasses=iphone\">Apple Developer portal under Devices &gt; iPhone<\/a>. My code sign error persisted, so I created a new profile under\u00a0<a href=\"https:\/\/developer.apple.com\/account\/ios\/profile\/profileList.action?type=limited\">Provisioning Profiles &gt;\u00a0Development<\/a>.<\/p>\n<ul>\n<li>Under\u00a0<a href=\"https:\/\/developer.apple.com\/account\/ios\/profile\/profileList.action?type=limited\">Provisioning Profiles &gt;\u00a0Development<\/a>, click on the + sign at the top right<\/li>\n<li>Select\u00a0<strong>iOS App Development<\/strong> and hit continue<\/li>\n<li>Select the App ID that corresponds to your\u00a0xcode project\u00a0and hit continue<\/li>\n<li>Give\u00a0the\u00a0Provisioning Profile a descriptive name\u00a0and hit continue<\/li>\n<li>Download your profile. It ends in a\u00a0<em>.mobileprovision<\/em> extension<\/li>\n<li>Double-click on your\u00a0<em>.mobileprovision\u00a0<\/em>file<\/li>\n<li>Let Xcode build your project again (and success!)<\/li>\n<\/ul>\n<p>Debugging Xcode is scary since the error messages are not very helpful. Also, it&#8217;s easy to get confused looking in the <a href=\"https:\/\/developer.apple.com\/account\/ios\/profile\/profileList.action\">Apple Developer Portal<\/a> versus <a href=\"https:\/\/itunesconnect.apple.com\/WebObjects\/iTunesConnect.woa\/ra\/ng\/\">iTunes Connect<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While updating my pomodoro apple watch app, I ran into an issue building my app with the latest Xcode (v6.4). The error was: Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles include the devices: iPhone6 CodeSign error: code signing is required for product type &#8216;WatchKit App&#8217; in SDK &#8216;iOS [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1992","post","type-post","status-publish","format-standard","hentry","category-culture"],"_links":{"self":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/comments?post=1992"}],"version-history":[{"count":2,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1992\/revisions"}],"predecessor-version":[{"id":1994,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1992\/revisions\/1994"}],"wp:attachment":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/media?parent=1992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/categories?post=1992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/tags?post=1992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}