To continue the XCode/Perforce integration discussion a little further.
Once they have basic XCode/Perforce integration working has anyone been able to get their project file automatically checking out.
Here is the use case we are having problems with:
1. Your project including all source, project file and resources is version controlled in Perforce
2. You can successfully go to edit a file such as main.m and be prompted to "SCM Edit" the file. Choosing to "SCM Edit" sucesfully checks out the file in perforce.
3. Double clicking on the project file allows you to edit the file BUT you notice it NEVER gets checked out in Perforce. Further when you go to exit XCode it asks if you if you want to "Close and Lose" changes you have made to the project file.
As everyone is aware the project file needs editing quite often. Not having the IDE check it out on your behalf becomes annoying quite quickly.
I have watched the SCM actions reported by XCode closely (apple-shift-v) and the commands that are being executed by XCode seem pretty right. My
guess is that xcode isn't interpreting the result of the following command correctly:
p4 opened <base>/projects/myworkspace/main/TestProject.xcodeproj/...
I notice with interest in the "Source Code Management" section here
http://developer.apple.com/releasenotes/DeveloperTools/RN-Xcode/index.html that Apple have recently been doing quite a bit of work with Xcode/Perforce integration.
Having project files broken in SCM integration seems obvious. Surely I must be missing something?
Any thoughts/fixes/comments/suggestions or updates very welcome 🙂
Thanks for your time,
Xumii Dev Team