Skip to content

Commit

Permalink
Support visionOS device simulator model
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-foreflight committed Oct 5, 2023
1 parent e3b6274 commit 93df502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GoogleUtilities/Environment/GULAppEnvironmentUtil.m
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ + (NSString *)deviceSimulatorModel {
model = @"iOS Simulator (Unknown)";
break;
}
#elif TARGET_OS_VISION
model = @"visionOS Simulator";
#endif
#elif TARGET_OS_EMBEDDED
model = [GULAppEnvironmentUtil getSysctlEntry:"hw.machine"];
Expand Down

0 comments on commit 93df502

Please sign in to comment.