Skip to content

Commit 48b47a4

Browse files
committed
Fix check-xcode-version for swift 4
1 parent 98d85c3 commit 48b47a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Xcode/check-xcode-version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ url.appendPathComponent("Config.json")
1717

1818
guard
1919
let data = try? Data(contentsOf: url),
20-
let json = try? JSONSerialization.jsonObject(with: data, options: []) as? [String: Any],
20+
let json = try JSONSerialization.jsonObject(with: data, options: []) as? [String: Any],
2121
let project = json["project"] as? [String: Any],
2222
let projectXcodeVersion = project["xcode_version"] as? String else {
2323
print("\(projectPath):1:1: error: Xcode Version not found in Config.json")

0 commit comments

Comments
 (0)