In OS X, .nib
and .bundle
"files" are both actually directories with extensions in their names. As such, in Perforce, you will need to add/edit the contents, not the items themselves.
For example:
p4 reconcile /devdir/Resources.bundle/CreateAccount.nib/...
or
p4 edit /devdir/Resrources.bundle/CreateAccount.nib/...
p4 submit /devdir/Resrources.bundle/CreateAccount.nib/...
If you're editing inside of Xcode
, or an external editor (or getting updated files from somebody else), I'd suggest using p4 reconcile
to let Perforce determine which of the contents need to be updated.
Generally, in OS X and iOS development this isn't necessary since you would not have .nib
files these days (.xib
files, which are XML-based are the source to .nib
files in modern Xcode
development). However, if you get code from a third party, they often have already-compiled resources.