Inside the .xcodeproj bundle, main project data is actually stored in the .pbxproj file. It is quite obviously an archived dictionary, but I have not been able to find which coder did Apple use? Is it a custom subclass of NSCoder
, or is it documented and I didn't look hard enough?
Asked
Active
Viewed 277 times
0

Ivan Vučica
- 9,529
- 9
- 60
- 111
1 Answers
2
It's actually an old-style property list, so I'd say the NSDictionary facilities for writing a dictionary to a file. But there are also embedded comments, so it might be some sort of custom code.

mipadi
- 398,885
- 90
- 523
- 479
-
4It is custom and undocumented. – bbum Nov 30 '10 at 22:05
-
Once you mentioned the name of the format, I dig out the docs and specs pretty quickly. Their archiving indeed seems custom (the comments mentioned). Docs mention that archiving existed in OpenStep, but this is probably not used here (comments). However the unarchiver, according to documentation under title "Old-Style ASCII Property Lists", can be decoded using propertyListFromData:mutabilityOption:format:errorDescription: in class NSPropertyListSerialization (with argument NSPropertyListOpenStepFormat). – Ivan Vučica Dec 02 '10 at 19:17