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 a work in progress. If you happen to make improvements, let me know so that those changes can be shared with the community.
You can download the AppleScripts here: xcode_p4_applescripts
The AppleScript files are also being hosted on the public Perforce swarm forum, located here: Perforce Public Swarm Server
I updated the AppleScripts to work with Xcode5 only and added a couple of new scripts.
The new applescript files are referenced in post Perforce and Xcode5