Skip to content

Commit

Permalink
Update Identity.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
eonist committed Nov 21, 2024
1 parent be5e8fb commit 4072482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/Telemetry/util/Identity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ extension Identity {
fileprivate static var vendorID: String? {
#if os(iOS)
// For iOS, we return the identifier for vendor
// return UIDevice.current.identifierForVendor?.uuidString
fatalError()
return UIDevice.current.identifierForVendor?.uuidString
#elseif os(macOS)
// For macOS, we need to use IOServiceMatching to get the device
let dev = IOServiceMatching("IOPlatformExpertDevice")
Expand Down

0 comments on commit 4072482

Please sign in to comment.