Perforce and Xcode5

In a previous post, Perforce and Xcode4, I created applescripts to work with Xcode4 and Perforce. I updated the AppleScripts to work with Xcode5 only and added a couple of new scripts. One, called p4_file_renamed.scpt, is used to update the renamed file Perforce when you are using Xcodes rename functionality, either directly or through the …

Perforce and Xcode5Read More »

Perforce and Xcode4

I created some AppleScripts that allow you to control some basic Perforce functionality in Xcode4, which was lost when Apple released the latest version of their IDE. Perforce actually published a way of checking out files using the Behaviors functionality in Xcode (Xcode and P4), but I wanted a little more. Note, these scripts are …

Perforce and Xcode4Read More »

Xcode Script Menu and P4

Here is another way that I am able to check out a file using the Xcode Script Menu and a keyboard hot key: ?View Code BASH#!/bin/sh # This shell script checks out the current file from Perforce   # Get the file’s path components FULL_FILE_PATH="%%%{PBXFilePath}%%%" SRC_FILE=${FULL_FILE_PATH##*/} FILE_PATH=${FULL_FILE_PATH%/*}   # This line brings in my settings …

Xcode Script Menu and P4Read More »