mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
update objectVersion from 46 to 50
This commit is contained in:
@@ -27,7 +27,7 @@ public class PBXProjGenerator {
|
||||
|
||||
public init(project: Project) {
|
||||
self.project = project
|
||||
pbxProj = PBXProj(rootObject: nil, objectVersion: 46)
|
||||
pbxProj = PBXProj(rootObject: nil, objectVersion: project.objectVersion)
|
||||
sourceGenerator = SourceGenerator(project: project, pbxProj: pbxProj)
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,10 @@ extension Project {
|
||||
return "Xcode 9.3"
|
||||
}
|
||||
|
||||
var objectVersion: UInt {
|
||||
return 50
|
||||
}
|
||||
|
||||
public func validateMinimumXcodeGenVersion(_ xcodeGenVersion: Version) throws {
|
||||
if let minimumXcodeGenVersion = options.minimumXcodeGenVersion, xcodeGenVersion < minimumXcodeGenVersion {
|
||||
throw SpecValidationError.ValidationError.invalidXcodeGenVersion(minimumVersion: minimumXcodeGenVersion, version: xcodeGenVersion)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objectVersion = 50;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXAggregateTarget section */
|
||||
|
||||
Reference in New Issue
Block a user