{"id":32957,"date":"2015-09-22T10:45:58","date_gmt":"2015-09-22T15:45:58","guid":{"rendered":"https:\/\/eshop.macsales.com\/blog\/?p=32957"},"modified":"2015-09-22T14:28:14","modified_gmt":"2015-09-22T19:28:14","slug":"apple-developers-should-validate-their-copy-of-xcode","status":"publish","type":"post","link":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/","title":{"rendered":"Apple: Developers Should Validate Their Copy of Xcode"},"content":{"rendered":"<p><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-32959\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg\" alt=\"Xcode icon\" width=\"265\" height=\"265\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg 265w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon-120x120.jpeg 120w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon-190x190.jpeg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon-120x120@2x.jpeg 240w\" sizes=\"auto, (max-width: 265px) 100vw, 265px\" \/><\/a>If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy from anywhere else. Rocket Yard readers are probably aware\u00a0of recent news stories that\u00a0a counterfeit version of Xcode known as XcodeGhost was injecting malicious code into apps that ended up on the App Store. As a result, Apple had to remove over 5,000 malware-laden apps from the App Store.<\/p>\n<p>To keep this from happening again, <a href=\"https:\/\/developer.apple.com\/news\/?id=09222015a\" target=\"_blank\">Apple recommends that developers download Xcode directly from the Mac App Store or Apple Developer website, and also leave Gatekeeper enabled on all systems<\/a> to protect against software that has been tampered with.<\/p>\n<p>To validate a copy of Xcode, there&#8217;s a simple command that can be run in Terminal on a system that has Gatekeeper enabled:<\/p>\n<p><code>spctl --assess --verbose \/Applications\/Xcode.app<\/code><\/p>\n<p>\/Applications\/ is the directory where you have Xcode installed, so you may need to change this. Running this check can take several minutes, after which a result of &#8220;accepted&#8221; should be visible in Terminal:<\/p>\n<p><a href=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-32958\" src=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode.jpg\" alt=\"Validating Xcode in Terminal\" width=\"571\" height=\"108\" srcset=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode.jpg 571w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode-284x54.jpg 284w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode-190x36.jpg 190w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode-284x54@2x.jpg 568w, https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/CheckXcode-190x36@2x.jpg 380w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p>If a result other than &#8220;accepted&#8221; or a source other than &#8220;Mac App Store&#8221;, &#8220;Apple System&#8221; or &#8220;Apple&#8221; appears, delete Xcode and download a new copy from the\u00a0Mac App Store or Apple Developer<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy from anywhere else. Rocket Yard readers are probably aware\u00a0of recent news stories that\u00a0a counterfeit version of Xcode known as XcodeGhost was injecting malicious code into [&hellip;]<\/p>\n","protected":false},"author":81,"featured_media":32959,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","footnotes":""},"categories":[2366],"class_list":["post-32957","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apple-news"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.2 (Yoast SEO v20.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Apple: Developers Should Validate Their Copy of Xcode<\/title>\n<meta name=\"description\" content=\"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Apple: Developers Should Validate Their Copy of Xcode\" \/>\n<meta property=\"og:description\" content=\"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\" \/>\n<meta property=\"og:site_name\" content=\"Rocket Yard\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/stevensande\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-22T15:45:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-22T19:28:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"265\" \/>\n\t<meta property=\"og:image:height\" content=\"265\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Steve Sande\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Steve Sande\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\"},\"author\":{\"name\":\"Steve Sande\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/1152721d0acb70692858d0f3fcb12e7a\"},\"headline\":\"Apple: Developers Should Validate Their Copy of Xcode\",\"datePublished\":\"2015-09-22T15:45:58+00:00\",\"dateModified\":\"2015-09-22T19:28:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\"},\"wordCount\":218,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"keywords\":[\"Apple Developer Program\",\"Gatekeeper\",\"Mac App Store\",\"Malware\",\"Terminal\",\"xCode\"],\"articleSection\":[\"Apple News\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\",\"name\":\"Apple: Developers Should Validate Their Copy of Xcode\",\"isPartOf\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\"},\"datePublished\":\"2015-09-22T15:45:58+00:00\",\"dateModified\":\"2015-09-22T19:28:14+00:00\",\"description\":\"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy\",\"breadcrumb\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eshop.macsales.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Apple: Developers Should Validate Their Copy of Xcode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#website\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"name\":\"Rocket Yard\",\"description\":\"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.\",\"publisher\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#organization\",\"name\":\"OWC\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"contentUrl\":\"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png\",\"width\":1024,\"height\":1024,\"caption\":\"OWC\"},\"image\":{\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/1152721d0acb70692858d0f3fcb12e7a\",\"name\":\"Steve Sande\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1ad8e267ec82e12963d9cfe717c9b8e108e1edbb728f5d91fe50c6e7ecd14b15?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1ad8e267ec82e12963d9cfe717c9b8e108e1edbb728f5d91fe50c6e7ecd14b15?s=96&d=mm&r=g\",\"caption\":\"Steve Sande\"},\"description\":\"Steve has been writing about Apple products since 1986, starting on a bulletin board system, creating the first of his many Apple-related websites in 1994, joining the staff of The Unofficial Apple Weblog in 2008, and founding Apple World Today in 2015. He\u2019s semi-retired, loves to camp and take photos, and is an FAA-licensed drone pilot.\",\"sameAs\":[\"https:\/\/appleworld.today\",\"https:\/\/facebook.com\/stevensande\",\"https:\/\/www.linkedin.com\/in\/stevensande\/\",\"https:\/\/www.youtube.com\/channel\/UCUnDTuaRnXncKQXfQYVNIJA\/\"],\"url\":\"https:\/\/eshop.macsales.com\/blog\/author\/steve-sande\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Apple: Developers Should Validate Their Copy of Xcode","description":"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/","og_locale":"en_US","og_type":"article","og_title":"Apple: Developers Should Validate Their Copy of Xcode","og_description":"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy","og_url":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/","og_site_name":"Rocket Yard","article_author":"https:\/\/facebook.com\/stevensande","article_published_time":"2015-09-22T15:45:58+00:00","article_modified_time":"2015-09-22T19:28:14+00:00","og_image":[{"width":265,"height":265,"url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg","type":"image\/jpeg"}],"author":"Steve Sande","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Steve Sande","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#article","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/"},"author":{"name":"Steve Sande","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/1152721d0acb70692858d0f3fcb12e7a"},"headline":"Apple: Developers Should Validate Their Copy of Xcode","datePublished":"2015-09-22T15:45:58+00:00","dateModified":"2015-09-22T19:28:14+00:00","mainEntityOfPage":{"@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/"},"wordCount":218,"commentCount":5,"publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"keywords":["Apple Developer Program","Gatekeeper","Mac App Store","Malware","Terminal","xCode"],"articleSection":["Apple News"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/","url":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/","name":"Apple: Developers Should Validate Their Copy of Xcode","isPartOf":{"@id":"https:\/\/eshop.macsales.com\/blog\/#website"},"datePublished":"2015-09-22T15:45:58+00:00","dateModified":"2015-09-22T19:28:14+00:00","description":"If you use Xcode to write apps for any Apple device, the company wants you to validate your version of Xcode and make sure that you never download a copy","breadcrumb":{"@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eshop.macsales.com\/blog\/32957-apple-developers-should-validate-their-copy-of-xcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eshop.macsales.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Apple: Developers Should Validate Their Copy of Xcode"}]},{"@type":"WebSite","@id":"https:\/\/eshop.macsales.com\/blog\/#website","url":"https:\/\/eshop.macsales.com\/blog\/","name":"Rocket Yard","description":"Your source for expert tips, special deals, commentary, reviews, and the latest tech news.","publisher":{"@id":"https:\/\/eshop.macsales.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eshop.macsales.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eshop.macsales.com\/blog\/#organization","name":"OWC","url":"https:\/\/eshop.macsales.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","contentUrl":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2020\/06\/rocket-yard-logo-round.png","width":1024,"height":1024,"caption":"OWC"},"image":{"@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/1152721d0acb70692858d0f3fcb12e7a","name":"Steve Sande","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eshop.macsales.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1ad8e267ec82e12963d9cfe717c9b8e108e1edbb728f5d91fe50c6e7ecd14b15?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ad8e267ec82e12963d9cfe717c9b8e108e1edbb728f5d91fe50c6e7ecd14b15?s=96&d=mm&r=g","caption":"Steve Sande"},"description":"Steve has been writing about Apple products since 1986, starting on a bulletin board system, creating the first of his many Apple-related websites in 1994, joining the staff of The Unofficial Apple Weblog in 2008, and founding Apple World Today in 2015. He\u2019s semi-retired, loves to camp and take photos, and is an FAA-licensed drone pilot.","sameAs":["https:\/\/appleworld.today","https:\/\/facebook.com\/stevensande","https:\/\/www.linkedin.com\/in\/stevensande\/","https:\/\/www.youtube.com\/channel\/UCUnDTuaRnXncKQXfQYVNIJA\/"],"url":"https:\/\/eshop.macsales.com\/blog\/author\/steve-sande\/"}]}},"jetpack_featured_media_url":"https:\/\/eshop.macsales.com\/blog\/wp-content\/uploads\/2015\/09\/XcodeIcon.jpeg","jetpack_shortlink":"https:\/\/wp.me\/pmPaT-8zz","_links":{"self":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/32957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/users\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/comments?post=32957"}],"version-history":[{"count":4,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/32957\/revisions"}],"predecessor-version":[{"id":32964,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/posts\/32957\/revisions\/32964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media\/32959"}],"wp:attachment":[{"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/media?parent=32957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eshop.macsales.com\/blog\/wp-json\/wp\/v2\/categories?post=32957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}