upgrade to xcodeproj 5

This commit is contained in:
Yonas Kolb committed 2018-09-25 21:08:11 +10:00
1 parent 1aac853e7b
commit e97b002655
32 files changed
+3066 -3073

No files matched your search

+3 -2
View File
@@ -4,7 +4,8 @@ import JSONUtilities
import PathKit
import ProjectSpec
import XcodeGenKit
import xcproj
import xcodeproj
import Basic
let version = try Version("1.11.2")
@@ -54,7 +55,7 @@ func generate(spec: String, project: String, isQuiet: Bool, justVersion: Bool) {
if projectFile.exists {
try projectFile.copy(tempPath)
}
try xcodeProject.write(path: tempPath, override: true)
try xcodeProject.write(path: AbsolutePath(tempPath.absolute().string), override: true)
try? projectFile.delete()
try tempPath.copy(projectFile)
try? tempPath.delete()