DeveloperServicesDevice.model isn't always present
- Commit
1816cefafc8c2478524185e222d60ab85cdb6f0e- Author
- kabiroberai <[email protected]>
- When
- 2021-02-08 07:29 UTC (5 years ago)
- Parents
68f2760
eg if a Corellium device were to be used
Diff
Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift
diff --git a/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swift b/Supersign/DeveloperServices/Devices/DeveloperServicesDevice.swiftindex 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"