From d4e5be3777ad1a2cc8372be2adb61f0823f440fa Mon Sep 17 00:00:00 2001 From: Paul Beusterien Date: Wed, 8 Jan 2025 17:34:04 -0800 Subject: [PATCH] CI fixes --- FirebaseRemoteConfig.podspec | 1 - FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/FirebaseRemoteConfig.podspec b/FirebaseRemoteConfig.podspec index a85c5fdf862..68d0af28e73 100644 --- a/FirebaseRemoteConfig.podspec +++ b/FirebaseRemoteConfig.podspec @@ -105,7 +105,6 @@ app update. } swift_api.source_files = ['FirebaseRemoteConfig/Tests/Swift/SwiftAPI/*.swift', 'FirebaseRemoteConfig/Tests/Swift/FakeUtils/*.swift', - 'FirebaseRemoteConfig/Tests/Swift/ObjC/*.[hm]', ] # Excludes tests that cannot be include in API tests because it requires fetch remote values from # a real console but only one test can be run without polluting other tests' remote values. diff --git a/FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift b/FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift index bd0f8469309..19143ce1c6a 100644 --- a/FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift +++ b/FirebaseRemoteConfig/SwiftNew/RemoteConfig.swift @@ -140,7 +140,7 @@ private var RCInstances = [String: [String: RemoteConfig]]() /// to fetch, activate and read config results and set default config results on the default /// Remote Config instance. @objc(FIRRemoteConfig) -public class RemoteConfig: NSObject, NSFastEnumeration { +open class RemoteConfig: NSObject, NSFastEnumeration { /// All the config content. private let configContent: ConfigContent @@ -426,7 +426,7 @@ public class RemoteConfig: NSObject, NSFastEnumeration { /// and avoid calling this method again. @available(iOS 13, tvOS 13, macOS 10.15, macCatalyst 13, watchOS 7, *) public func fetch() async throws -> RemoteConfigFetchStatus { - return try await withUnsafeThrowingContinuation() { continuation in + return try await withUnsafeThrowingContinuation { continuation in self.fetch { status, error in if let error { continuation.resume(throwing: error)