Posted by Jaime | Posted in Coding | Posted on 18-03-2015
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… but I wanted more.
So, I took the plung and wrote a plugin for Xcode using Swift.
The plugin is hosted on Perforce’s Swarm website, which you can download and build in Xcode. Once you build the project, the plugin is automatically installed for you.
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’s work.
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: https://github.com/kattrali/Xcode-Plugin-Template
If you don’t know what Alcatraz is, you should check out at http://alcatraz.io