In the past, I've been using a simple script (provided by the Perforce site here to automatically check out files when I begin editing them in Xcode. After updating to OSX Mavericks and Xcode, the script stopped working - it no longer checked files out nor did it display a popup notifying of an error like it used to do.
Now, Perforce has updated the help article linked above with a new script supposedly for Xcode 5. This script does not work for me though. Initially, I was receiving errors that p4 was not located in the usr/local/bin directory. I corrected the script to point to usr/bin instead (where p4 is located). At this point I began getting errors that the $P4PORT was incorrect and a connection could not be made. I ended up manually putting the necessary credentials into the xcodeunlock.sh file (as directed in the linked article. At this point, when editing a file a popup would appear, but it would be blank. The file would not be checked out.
I'm now at a loss of how to proceed. The scripts fail for me in all the configurations I've tried. I've updated Xcode and Perforce to the most recent versions to no avail. Is there a way to get these two guys to play nice again?
Related: Perforce Checkout Macro for XCode4