update xcodeproj

This commit is contained in:
Yonas Kolb committed 2018-10-11 21:15:13 +11:00
1 parent a26b2d382a
commit e17bf7d0f2
6 files changed
+13 -17

No files matched your search

+1 -2
View File
@@ -1,4 +1,3 @@
import Basic
import Commander
import Foundation
import JSONUtilities
@@ -55,7 +54,7 @@ func generate(spec: String, project: String, isQuiet: Bool, justVersion: Bool) {
if projectFile.exists {
try projectFile.copy(tempPath)
}
try xcodeProject.write(path: AbsolutePath(tempPath.absolute().string), override: true)
try xcodeProject.write(path: tempPath, override: true)
try? projectFile.delete()
try tempPath.copy(projectFile)
try? tempPath.delete()