Re: Writable project files needed for Perforce?
Re: Writable project files needed for Perforce?
- Subject: Re: Writable project files needed for Perforce?
- From: Chuck Soper <email@hidden>
- Date: Sat, 13 Mar 2004 10:01:23 -0800
You can store all files with Perforce, but keep in mind that the
Xcode-Perforce SCM tool does not support bundled files (nibs, project
files, etc.). You'll have to use a Perforce client (p4 or p4v) for
those files.
Perforce is making your Xcode project files read-only. This is
default behavior for Perforce, yet I don't think that Xcode is
designed to work with read-only project files. You can tell Perforce
to make your project files writable using the 'p4 typemap' command.
Here is my typemap:
TypeMap:
binary //....doc
binary //....pdf
binary //....tiff
binary //....jpg
unicode+w //....strings
unicode+w //....plist
unicode+w //...project.pbxproj
unicode+w //....pbxuser
binary //...keyedobjects.nib
unicode //...info.nib
text //...classes.nib
unicode //....ooutline
The "+w" is for writable. Using "text+w" instead of "unicode+w" is
probably okay. If you have a Perforce license, you could contact
Perforce tech support. Also, you could post your question on the
Perforce user list:
http://maillist.perforce.com/mailman/listinfo
Also, see these links:
http://www.perforce.com/perforce/doc.032/manuals/cmdref/o.ftypes.html#1040647
http://www.perforce.com/perforce/doc.032/manuals/cmdref/typemap.html#1040665
For anyone wanting to use Perforce with Xcode, I think that the
information and details are simply hard to find. I have already sent
this comment to Apple's tech pub feedback.
Chuck
At 11:05 AM +0000 3/13/04, Jonathan del Strother wrote:
I've versioned my entire project directory through Perforce, which
I'm currently using through the CLI. (I'd prefer to gain a better
understanding of how it all works before letting XCode's SCM
'integration' loose on it).
However, I'm having problems where XCode reports that it's unable to
save the project, or that files on disk have changed, and do I wish
to revert them. I have the .xcode directory contents checked out
and available for edit - what else do I need?
Any general tips on using Perforce with an XCode project would be
appreciated, too. Do you just control your .h & .m files, or do you
try & version the entire project?
Thanks,
Jon
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.