Skip to content

Commit 7731a7f

Browse files
authored
fix: Identify iPhone Simulator on Apple Silicon (#902)
1 parent 3b0016e commit 7731a7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Core/Extensions/UIDeviceExtension.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import Foundation
2929
return "iPhone Simulator"
3030
case "x86_64":
3131
return "iPhone Simulator"
32+
case "arm64":
33+
return "iPhone Simulator"
3234

3335
case "iPhone1,1":
3436
return "iPhone"

0 commit comments

Comments
 (0)