Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

DeveloperServicesDevice.model isn't always present

kabiroberai1816cefafc8c
diff --git a/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift b/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift
index d7b8cad..6ec7aa8 100644
--- a/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift
+++ b/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift
@@ -19,7 +19,7 @@ public struct DeveloperServicesDevice: Decodable {
public let udid: String
public let platform: DeveloperServicesPlatform
public let type: String // TODO: Create enum
- public let model: String
+ public let model: String?
private enum CodingKeys: String, CodingKey {
case id = "deviceId"