From 8fa52d6d93a9c60f5a09b5fd1c80b3a9c35046d0 Mon Sep 17 00:00:00 2001 From: lpw Date: Mon, 15 Apr 2024 11:25:12 +0800 Subject: [PATCH] 提交3.18.0 --- frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h b/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h index d2bb935..e84ab9e 100644 --- a/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h +++ b/frameworks/GoogleUtilities.xcframework/tvos-arm64/GoogleUtilities.framework/Headers/GULAppEnvironmentUtil.h @@ -35,6 +35,10 @@ /// The current device model. Returns an empty string if device model cannot be retrieved. + (nullable NSString *)deviceModel; +/// The current device model, with simulator-specific values. Returns an empty string if device +/// model cannot be retrieved. ++ (nullable NSString *)deviceSimulatorModel; + /// The current operating system version. Returns an empty string if the system version cannot be /// retrieved. + (NSString *)systemVersion; @@ -47,11 +51,16 @@ "Always `YES` because only iOS 8 and higher supported. The method will be removed."); /// @return YES if Swift runtime detected in the app. -+ (BOOL)hasSwiftRuntime; ++ (BOOL)hasSwiftRuntime __deprecated; -/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst". +/// @return An Apple platform. Possible values "ios", "tvos", "macos", "watchos", "maccatalyst", and +/// "visionos". + (NSString *)applePlatform; +/// @return An Apple Device platform. Same possible values as `applePlatform`, with the addition of +/// "ipados". ++ (NSString *)appleDevicePlatform; + /// @return The way the library was added to the app, e.g. "swiftpm", "cocoapods", etc. + (NSString *)deploymentType; -- Gitblit v1.8.0