From 454098c2f508505fc55c60c577250b8610abaaf3 Mon Sep 17 00:00:00 2001
From: lpw <pengwei.li@gamehollywood.com>
Date: Tue, 26 Jan 2021 09:39:45 +0800
Subject: [PATCH] 3.9.2
---
frameworks/FirebaseCore.framework/Headers/FIROptions.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/frameworks/FirebaseCore.framework/Headers/FIROptions.h b/frameworks/FirebaseCore.framework/Headers/FIROptions.h
index 67fbe5b..afabbf1 100644
--- a/frameworks/FirebaseCore.framework/Headers/FIROptions.h
+++ b/frameworks/FirebaseCore.framework/Headers/FIROptions.h
@@ -106,7 +106,7 @@
* FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
* Returns nil if the plist file does not exist or is invalid.
*/
-- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath;
+- (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath NS_DESIGNATED_INITIALIZER;
/**
* Initializes a customized instance of FIROptions with required fields. Use the mutable properties
@@ -115,9 +115,12 @@
// clang-format off
- (instancetype)initWithGoogleAppID:(NSString *)googleAppID
GCMSenderID:(NSString *)GCMSenderID
- NS_SWIFT_NAME(init(googleAppID:gcmSenderID:));
+ NS_SWIFT_NAME(init(googleAppID:gcmSenderID:)) NS_DESIGNATED_INITIALIZER;
// clang-format on
+/** Unavailable. Please use `init(contentsOfFile:)` or `init(googleAppID:gcmSenderID:)` instead. */
+- (instancetype)init NS_UNAVAILABLE;
+
@end
NS_ASSUME_NONNULL_END
--
Gitblit v1.8.0