Skip to content

Commit 7a5b362

Browse files
Last try
1 parent 59c5141 commit 7a5b362

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/DeviceIdentificator/DeviceModel+Name.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public extension DeviceModel {
2020
case .macDesignedForIpad:
2121
return "Mac Designed for iPad"
2222
case .unknown(model: let model):
23-
return model
24-
case .simulator(let model, _):
25-
return model.name
23+
return "Unknown device: \(model)"
24+
case .simulator(let model, let arch):
25+
return "Simulator \(model.name) @ \(arch)"
2626
}
2727
/*
2828
switch self {

0 commit comments

Comments
 (0)