Index: pylib/gyp/xcodeproj_file.py |
diff --git a/pylib/gyp/xcodeproj_file.py b/pylib/gyp/xcodeproj_file.py |
index 69f7c10c70c4f1ee44d34b6e41640557b34ede11..034a0d2d4fcc23ae097c615d23699a07f61ed055 100644 |
--- a/pylib/gyp/xcodeproj_file.py |
+++ b/pylib/gyp/xcodeproj_file.py |
@@ -2863,27 +2863,10 @@ class XCProjectFile(XCObject): |
_schema.update({ |
'archiveVersion': [0, int, 0, 1, 1], |
'classes': [0, dict, 0, 1, {}], |
- 'objectVersion': [0, int, 0, 1, 45], |
+ 'objectVersion': [0, int, 0, 1, 46], |
'rootObject': [0, PBXProject, 1, 1], |
}) |
- def SetXcodeVersion(self, version): |
- version_to_object_version = { |
- '2.4': 45, |
- '3.0': 45, |
- '3.1': 45, |
- '3.2': 46, |
- } |
- if not version in version_to_object_version: |
- supported_str = ', '.join(sorted(version_to_object_version.keys())) |
- raise Exception( |
- 'Unsupported Xcode version %s (supported: %s)' % |
- ( version, supported_str ) ) |
- compatibility_version = 'Xcode %s' % version |
- self._properties['rootObject'].SetProperty('compatibilityVersion', |
- compatibility_version) |
- self.SetProperty('objectVersion', version_to_object_version[version]); |
- |
def ComputeIDs(self, recursive=True, overwrite=True, hash=None): |
# Although XCProjectFile is implemented here as an XCObject, it's not a |
# proper object in the Xcode sense, and it certainly doesn't have its own |