From 14b94aa9f6735954f2d167551838a3eb72226702 Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Mon, 7 Oct 2024 13:37:49 -0700 Subject: [PATCH] Updated podspec for internal FirebaseCore header (#13829) --- FirebaseCore/Sources/FIROptionsInternal.h | 2 +- FirebaseFirestoreInternal.podspec | 1 + scripts/check_imports.swift | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/FirebaseCore/Sources/FIROptionsInternal.h b/FirebaseCore/Sources/FIROptionsInternal.h index bdd0267ec92..8765614e17d 100644 --- a/FirebaseCore/Sources/FIROptionsInternal.h +++ b/FirebaseCore/Sources/FIROptionsInternal.h @@ -14,7 +14,7 @@ * limitations under the License. */ -#import "FirebaseCore/Sources/Public/FirebaseCore/FIROptions.h" +#import /** * This header file exposes the initialization of FirebaseOptions to internal use. diff --git a/FirebaseFirestoreInternal.podspec b/FirebaseFirestoreInternal.podspec index 184af24dac8..da34afc2f4d 100644 --- a/FirebaseFirestoreInternal.podspec +++ b/FirebaseFirestoreInternal.podspec @@ -45,6 +45,7 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling, # that "quick open" by filename in Xcode will continue to work. s.source_files = [ 'FirebaseCore/Extension/*.h', + 'FirebaseCore/Sources/FIROptionsInternal.h', 'Firestore/Source/Public/FirebaseFirestore/*.h', 'Firestore/Source/**/*.{m,mm}', 'Firestore/Protos/nanopb/**/*.cc', diff --git a/scripts/check_imports.swift b/scripts/check_imports.swift index 89011f61b7f..ee058f4b0e2 100755 --- a/scripts/check_imports.swift +++ b/scripts/check_imports.swift @@ -102,6 +102,7 @@ private func checkFile(_ file: String, logger: ErrorLogger, inRepo repoURL: URL, let isPrivate = file.range(of: "/Sources/Private/") != nil || // Delete when FirebaseInstallations fixes directory structure. file.range(of: "Source/Library/Private/FirebaseInstallationsInternal.h") != nil || + file.range(of: "FirebaseCore/Sources/FIROptionsInternal.h") != nil || file.range(of: "FirebaseCore/Extension") != nil // Treat all files with names finishing on "Test" or "Tests" as files with tests.