diff --git a/glean-core/ios/Glean/Glean.swift b/glean-core/ios/Glean/Glean.swift index a98f67e87b..e89794f914 100644 --- a/glean-core/ios/Glean/Glean.swift +++ b/glean-core/ios/Glean/Glean.swift @@ -231,7 +231,7 @@ public final class Glean: @unchecked Sendable { appBuild: AppInfo.buildId, appDisplayVersion: AppInfo.displayVersion, appBuildDate: Datetime(from: buildInfo.buildDate), - architecture: Sysctl.machine, + architecture: Sysctl.architecture, osVersion: UIDevice.current.systemVersion, channel: configuration.channel, locale: getLocaleTag(), diff --git a/glean-core/ios/Glean/Utils/Sysctl.swift b/glean-core/ios/Glean/Utils/Sysctl.swift index ffbb078667..978308eeb8 100644 --- a/glean-core/ios/Glean/Utils/Sysctl.swift +++ b/glean-core/ios/Glean/Utils/Sysctl.swift @@ -144,9 +144,9 @@ struct Sysctl { /// Always the same on Apple hardware public static var manufacturer: String = "Apple" - /// e.g. "N71mAP" - public static var machine: String { - return (try? Sysctl.string(for: [CTL_HW, HW_MODEL])) ?? "Unknown" + /// e.g. "arm64" + public static var architecture: String { + return (try? Sysctl.string(for: [CTL_HW, HW_MACHINE_ARCH])) ?? "Unknown" } /// e.g. "iPhone8,1"