{"id":1468,"date":"2015-03-18T10:33:30","date_gmt":"2015-03-18T15:33:30","guid":{"rendered":"http:\/\/www.jaimerios.com\/?p=1468"},"modified":"2015-03-18T10:33:30","modified_gmt":"2015-03-18T15:33:30","slug":"xcode-plugin-for-perforce","status":"publish","type":"post","link":"https:\/\/jaimerios.com\/?p=1468","title":{"rendered":"Xcode plugin for Perforce"},"content":{"rendered":"<p><a href=\"https:\/\/jaimerios.com\/wp-content\/uploads\/2015\/03\/perforce-small-logo.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jaimerios.com\/wp-content\/uploads\/2015\/03\/perforce-small-logo.png\" alt=\"perforce-small-logo\" width=\"100\" height=\"100\" class=\"alignleft size-full wp-image-1482\" \/><\/a><br \/>\nI use Perforce as my version control system and Xcode as my IDE.<\/p>\n<p>Unfortunately, Apple removed Perforce support from Xcode a whiles back for reasons unknown.<\/p>\n<p>So, to work around the problem, I started to use of DTerm&#8230; but I wanted more.<\/p>\n<p>I created AppleScripts for both <a href=\"http:\/\/www.jaimerios.com\/?p=1349\" target=\"_blank\" rel=\"noopener\">Xcode4<\/a> and <a href=\"http:\/\/www.jaimerios.com\/?p=1389\" target=\"_blank\" rel=\"noopener\">Xcode5<\/a> which was better, but&#8230; I wanted more.<\/p>\n<p>So, I took the plung and wrote a plugin for Xcode using Swift.<\/p>\n<p>The plugin is hosted on <a href=\"https:\/\/swarm.workshop.perforce.com\/projects\/jaime-rios-xcodeperforceplugin\" target=\"_blank\" rel=\"noopener\">Perforce&#8217;s Swarm website<\/a>, which you can download and build in Xcode. Once you build the project, the plugin is automatically installed for you.<\/p>\n<p>Pay attention to the README.md file: you will need set up files that contain the settings for your workspace, or workspaces, and those settings file are used by the plugin to do it&#8217;s work.<\/p>\n<p>A big thanks to Delisa Mason for writing a Xcode plugin template. This template was a huge help in creating the plugin and the template available in the Alcatraz package manager as well as in GitHub: <a href=\"https:\/\/github.com\/kattrali\/Xcode-Plugin-Template\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/kattrali\/Xcode-Plugin-Template<\/a> <\/p>\n<p>If you don&#8217;t know what Alcatraz is, you should check out at <a href=\"http:\/\/alcatraz.io\" target=\"_blank\" rel=\"noopener\">http:\/\/alcatraz.io<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use Perforce as my version control system and Xcode as my IDE. Unfortunately, Apple removed Perforce support from Xcode a whiles back for reasons unknown. So, to work around the problem, I started to use of DTerm&#8230; but I wanted more. I created AppleScripts for both Xcode4 and Xcode5 which was better, but&#8230; I &#8230; <a title=\"Xcode plugin for Perforce\" class=\"read-more\" href=\"https:\/\/jaimerios.com\/?p=1468\" aria-label=\"Read more about Xcode plugin for Perforce\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[349,359,506],"class_list":["post-1468","post","type-post","status-publish","format-standard","hentry","category-coding","tag-perforce","tag-plugins","tag-xcode"],"_links":{"self":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/1468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1468"}],"version-history":[{"count":0,"href":"https:\/\/jaimerios.com\/index.php?rest_route=\/wp\/v2\/posts\/1468\/revisions"}],"wp:attachment":[{"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jaimerios.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}