diff --git a/Source/iOS/Device.swift b/Source/iOS/Device.swift index 68ed95c..0946982 100644 --- a/Source/iOS/Device.swift +++ b/Source/iOS/Device.swift @@ -120,7 +120,7 @@ open class Device { case "iPod9,1": return .iPodTouch7Gen /*** Simulator ***/ - case "i386", "x86_64": return .simulator + case "i386", "x86_64", "arm64": return .simulator default: assertionFailure("New Device Found! Model Code:\(code). Please create a PR to the repo.") @@ -137,7 +137,7 @@ open class Device { return .iPad } else if versionCode.contains("iPod") { return .iPod - } else if versionCode == "i386" || versionCode == "x86_64" { + } else if versionCode == "i386" || versionCode == "x86_64" || versionCode == "arm64" { return .simulator } else { return .unknown