Skip to content

Commit

Permalink
Client App updates for auth-swift and Xcode 15
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jan 3, 2024
1 parent 3d09cc0 commit 192be33
Show file tree
Hide file tree
Showing 12 changed files with 135 additions and 32 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/client_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
client-app-spm:
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
#TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
Expand All @@ -36,6 +36,8 @@ jobs:
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: ${{ matrix.os }}
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
- name: Build Client App –– ${{ matrix.platform }}
run: scripts/third_party/travis/retry.sh ./scripts/build.sh ${{ matrix.scheme }} ${{ matrix.platform }} xcodebuild

Expand All @@ -44,7 +46,7 @@ jobs:
env:
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
FIREBASE_SOURCE_FIRESTORE: 1
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
#TODO(ncooke3): Add multi-platform support: tvOS, macOS, catalyst
Expand All @@ -55,13 +57,15 @@ jobs:
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
with:
cache_key: ${{ matrix.os }}
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
- name: Build Client App –– ${{ matrix.platform }}
run: scripts/third_party/travis/retry.sh ./scripts/build.sh ${{ matrix.scheme }} ${{ matrix.platform }} xcodebuild

client-app-cocoapods:
# Don't run on private repo unless it is a PR.
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
scheme: [ClientApp-CocoaPods, ClientApp-CocoaPods-iOS13]
Expand All @@ -73,6 +77,8 @@ jobs:
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
- name: Prereqs
run: scripts/install_prereqs.sh ClientApp iOS xcodebuild
- name: Build
Expand Down
53 changes: 30 additions & 23 deletions IntegrationTesting/ClientApp/ClientApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
objects = {

/* Begin PBXBuildFile section */
DE99626B2B44C96C0038ED6B /* objc-module-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = DE9962682B44C96B0038ED6B /* objc-module-import-test.m */; };
DE99626C2B44C96C0038ED6B /* objc-module-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = DE9962682B44C96B0038ED6B /* objc-module-import-test.m */; };
DE99626D2B44C96C0038ED6B /* objcxx-header-import-test.mm in Sources */ = {isa = PBXBuildFile; fileRef = DE9962692B44C96B0038ED6B /* objcxx-header-import-test.mm */; };
DE99626E2B44C96C0038ED6B /* objcxx-header-import-test.mm in Sources */ = {isa = PBXBuildFile; fileRef = DE9962692B44C96B0038ED6B /* objcxx-header-import-test.mm */; };
DE99626F2B44C96C0038ED6B /* objc-header-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = DE99626A2B44C96B0038ED6B /* objc-header-import-test.m */; };
DE9962702B44C96C0038ED6B /* objc-header-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = DE99626A2B44C96B0038ED6B /* objc-header-import-test.m */; };
EA05C7DE29F08D4B00D1014F /* objc-module-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = EA05C7DD29F08D4B00D1014F /* objc-module-import-test.m */; };
EA05C7E029F0911400D1014F /* objc-header-import-test.m in Sources */ = {isa = PBXBuildFile; fileRef = EA05C7DF29F0911400D1014F /* objc-header-import-test.m */; };
EA0BC0FF29F06D5B005B8AEE /* FirebaseAnalyticsOnDeviceConversion in Frameworks */ = {isa = PBXBuildFile; platformFilter = ios; productRef = EA0BC0FE29F06D5B005B8AEE /* FirebaseAnalyticsOnDeviceConversion */; };
Expand All @@ -27,7 +33,6 @@
EA7DF58929EF3326005664A7 /* FirebaseAnalyticsWithoutAdIdSupport in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF58829EF3326005664A7 /* FirebaseAnalyticsWithoutAdIdSupport */; };
EA7DF58B29EF3326005664A7 /* FirebaseAppCheck in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF58A29EF3326005664A7 /* FirebaseAppCheck */; };
EA7DF58D29EF3326005664A7 /* FirebaseAppDistribution-Beta in Frameworks */ = {isa = PBXBuildFile; platformFilter = ios; productRef = EA7DF58C29EF3326005664A7 /* FirebaseAppDistribution-Beta */; };
EA7DF58F29EF3326005664A7 /* FirebaseAuth in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF58E29EF3326005664A7 /* FirebaseAuth */; };
EA7DF59129EF3326005664A7 /* FirebaseAuthCombine-Community in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF59029EF3326005664A7 /* FirebaseAuthCombine-Community */; };
EA7DF59329EF3326005664A7 /* FirebaseCrashlytics in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF59229EF3326005664A7 /* FirebaseCrashlytics */; };
EA7DF59529EF3326005664A7 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = EA7DF59429EF3326005664A7 /* FirebaseDatabase */; };
Expand Down Expand Up @@ -63,6 +68,9 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
DE9962682B44C96B0038ED6B /* objc-module-import-test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "objc-module-import-test.m"; sourceTree = "<group>"; };
DE9962692B44C96B0038ED6B /* objcxx-header-import-test.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "objcxx-header-import-test.mm"; sourceTree = "<group>"; };
DE99626A2B44C96B0038ED6B /* objc-header-import-test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "objc-header-import-test.m"; sourceTree = "<group>"; };
EA05C7DD29F08D4B00D1014F /* objc-module-import-test.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "objc-module-import-test.m"; sourceTree = "<group>"; };
EA05C7DF29F0911400D1014F /* objc-header-import-test.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "objc-header-import-test.m"; sourceTree = "<group>"; };
EA1269B029EDF98800D79E66 /* ClientApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ClientApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
Expand Down Expand Up @@ -101,7 +109,6 @@
EA7DF58B29EF3326005664A7 /* FirebaseAppCheck in Frameworks */,
EA7DF58929EF3326005664A7 /* FirebaseAnalyticsWithoutAdIdSupport in Frameworks */,
EA7DF5AB29EF3327005664A7 /* FirebaseMessaging in Frameworks */,
EA7DF58F29EF3326005664A7 /* FirebaseAuth in Frameworks */,
EA7DF5B329EF3328005664A7 /* FirebaseRemoteConfigSwift in Frameworks */,
EA7DF59329EF3326005664A7 /* FirebaseCrashlytics in Frameworks */,
EA7DF5A529EF3327005664A7 /* FirebaseInAppMessaging-Beta in Frameworks */,
Expand Down Expand Up @@ -148,17 +155,10 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
413203AEE08A47DF84F65AED /* Pods */ = {
isa = PBXGroup;
children = (
);
path = Pods;
sourceTree = "<group>";
};
EA1269A729EDF98800D79E66 = {
isa = PBXGroup;
children = (
EAA0A9A72AD84BF100C28FCD /* Shared-iOS11+ */,
EAA0A9A72AD84BF100C28FCD /* Shared-iOS12+ */,
EAA0A9A62AD84BCC00C28FCD /* Shared-iOS13+ */,
EA5A62982A99151F00F5711A /* Shared */,
EA1269C229EDF9DD00D79E66 /* Packages */,
Expand All @@ -167,7 +167,6 @@
EAA0A9902AD8494F00C28FCD /* ClientApp-CocoaPods-iOS13 */,
EAA0A9B22AD84E0800C28FCD /* ClientApp-iOS13 */,
EA1269B129EDF98800D79E66 /* Products */,
413203AEE08A47DF84F65AED /* Pods */,
);
sourceTree = "<group>";
};
Expand Down Expand Up @@ -253,20 +252,23 @@
EAA0A9A62AD84BCC00C28FCD /* Shared-iOS13+ */ = {
isa = PBXGroup;
children = (
DE99626A2B44C96B0038ED6B /* objc-header-import-test.m */,
DE9962682B44C96B0038ED6B /* objc-module-import-test.m */,
DE9962692B44C96B0038ED6B /* objcxx-header-import-test.mm */,
EAA0A9A82AD84C2A00C28FCD /* swift-import-test.swift */,
);
path = "Shared-iOS13+";
sourceTree = "<group>";
};
EAA0A9A72AD84BF100C28FCD /* Shared-iOS11+ */ = {
EAA0A9A72AD84BF100C28FCD /* Shared-iOS12+ */ = {
isa = PBXGroup;
children = (
EA7DF54229EF20B9005664A7 /* swift-import-test.swift */,
EA05C7DD29F08D4B00D1014F /* objc-module-import-test.m */,
EA05C7DF29F0911400D1014F /* objc-header-import-test.m */,
EA501B1029F09593009C4DBC /* objcxx-header-import-test.mm */,
);
path = "Shared-iOS11+";
path = "Shared-iOS12+";
sourceTree = "<group>";
};
EAA0A9B22AD84E0800C28FCD /* ClientApp-iOS13 */ = {
Expand Down Expand Up @@ -308,7 +310,6 @@
EA7DF58829EF3326005664A7 /* FirebaseAnalyticsWithoutAdIdSupport */,
EA7DF58A29EF3326005664A7 /* FirebaseAppCheck */,
EA7DF58C29EF3326005664A7 /* FirebaseAppDistribution-Beta */,
EA7DF58E29EF3326005664A7 /* FirebaseAuth */,
EA7DF59029EF3326005664A7 /* FirebaseAuthCombine-Community */,
EA7DF59229EF3326005664A7 /* FirebaseCrashlytics */,
EA7DF59429EF3326005664A7 /* FirebaseDatabase */,
Expand Down Expand Up @@ -411,10 +412,11 @@
};
EAA0A98E2AD8494F00C28FCD = {
CreatedOnToolsVersion = 14.1;
LastSwiftMigration = 1410;
LastSwiftMigration = 1510;
};
EAA0A9B02AD84E0800C28FCD = {
CreatedOnToolsVersion = 14.1;
LastSwiftMigration = 1510;
};
};
};
Expand Down Expand Up @@ -507,7 +509,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DE99626B2B44C96C0038ED6B /* objc-module-import-test.m in Sources */,
DE99626D2B44C96C0038ED6B /* objcxx-header-import-test.mm in Sources */,
EAA0A9A92AD84C2A00C28FCD /* swift-import-test.swift in Sources */,
DE99626F2B44C96C0038ED6B /* objc-header-import-test.m in Sources */,
EAA0A9A52AD849E600C28FCD /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -516,7 +521,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
DE99626C2B44C96C0038ED6B /* objc-module-import-test.m in Sources */,
DE99626E2B44C96C0038ED6B /* objcxx-header-import-test.mm in Sources */,
EAA0A9C82AD84E6A00C28FCD /* swift-import-test.swift in Sources */,
DE9962702B44C96C0038ED6B /* objc-header-import-test.m in Sources */,
EAA0A9CA2AD84E7000C28FCD /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -658,7 +666,7 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
Expand Down Expand Up @@ -701,7 +709,7 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
Expand Down Expand Up @@ -741,7 +749,7 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
Expand Down Expand Up @@ -777,7 +785,7 @@
"INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.13;
Expand Down Expand Up @@ -876,6 +884,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "ClientApp-iOS13/ClientApp_iOS13.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand Down Expand Up @@ -906,6 +915,7 @@
SUPPORTS_MACCATALYST = YES;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TVOS_DEPLOYMENT_TARGET = 1;
Expand All @@ -917,6 +927,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "ClientApp-iOS13/ClientApp_iOS13.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand Down Expand Up @@ -1028,10 +1039,6 @@
isa = XCSwiftPackageProductDependency;
productName = "FirebaseAppDistribution-Beta";
};
EA7DF58E29EF3326005664A7 /* FirebaseAuth */ = {
isa = XCSwiftPackageProductDependency;
productName = FirebaseAuth;
};
EA7DF59029EF3326005664A7 /* FirebaseAuthCombine-Community */ = {
isa = XCSwiftPackageProductDependency;
productName = "FirebaseAuthCombine-Community";
Expand Down
2 changes: 1 addition & 1 deletion IntegrationTesting/ClientApp/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ target 'ClientApp-CocoaPods' do
pod 'FirebaseRemoteConfig', :path => '../../'
pod 'FirebaseRemoteConfigSwift', :path => '../../'
pod 'FirebaseAppDistribution', :path => '../../'
pod 'FirebaseAuth', :path => '../../'
pod 'FirebaseCrashlytics', :path => '../../'
pod 'FirebaseDatabase', :path => '../../'
pod 'FirebaseDatabaseSwift', :path => '../../'
Expand All @@ -39,6 +38,7 @@ target 'ClientApp-CocoaPods-iOS13' do

pod 'FirebaseAnalytics' # Binary pods don't work with `:path`.
pod 'FirebaseAnalyticsSwift', :path => '../../' # Requires iOS 13.0+
pod 'FirebaseAuth', :path => '../../' # Requires iOS 13.0+
pod 'FirebaseInAppMessaging', :path => '../../'
pod 'FirebaseInAppMessagingSwift', :path => '../../' # Requires iOS 13.0+

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
@import FirebaseAppDistribution;
#endif
@import FirebaseAuth;
@import FirebaseCore;
@import FirebaseCrashlytics;
@import FirebaseDatabase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
#import <FirebaseAppDistribution/FirebaseAppDistribution.h>
#import "FirebaseAppDistribution/FirebaseAppDistribution.h"
#endif
#import <FirebaseAuth/FirebaseAuth.h>
#import <FirebaseCore/FirebaseCore.h>
#import <FirebaseCrashlytics/FirebaseCrashlytics.h>
#import <FirebaseDatabase/FirebaseDatabase.h>
#import "FirebaseAuth/FirebaseAuth.h"
#import "FirebaseCore/FirebaseCore.h"
#import "FirebaseCrashlytics/FirebaseCrashlytics.h"
#import "FirebaseDatabase/FirebaseDatabase.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import FirebaseAppCheck
#if os(iOS) && !targetEnvironment(macCatalyst)
import FirebaseAppDistribution
#endif
import FirebaseAuth
#if SWIFT_PACKAGE
import FirebaseAuthCombineSwift
#endif // SWIFT_PACKAGE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This file imports all Firebase products that vend an umbrella header.
// Products implemented in Swift are therefore omitted.

// ‼️ NOTE: Changes should also be reflected in `objcxx-header-import-test.m`.

#import <Firebase.h>
#import <FirebaseABTesting/FirebaseABTesting.h>
#import <FirebaseAnalytics/FirebaseAnalytics.h>
#import <FirebaseAuth/FirebaseAuth.h>
#import <FirebaseCore/FirebaseCore.h>
#import "Firebase.h"
#import "FirebaseABTesting/FirebaseABTesting.h"
#import "FirebaseAnalytics/FirebaseAnalytics.h"
#import "FirebaseAuth/FirebaseAuth.h"
#import "FirebaseCore/FirebaseCore.h"
#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
#import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
#import "FirebaseInAppMessaging/FirebaseInAppMessaging.h"
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// ‼️ NOTE: Changes should also be reflected in `objcxx-module-import-test.m`.

#if !COCOAPODS
// TODO(ncooke3): Figure out why this isn't working on CocoaPods.
@import Firebase;
#endif // !COCOAPODS
@import FirebaseABTesting;
@import FirebaseAnalytics;
@import FirebaseAuth;
@import FirebaseCore;
#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
@import FirebaseInAppMessaging;
#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This file imports all Firebase products that vend an umbrella header.
// Products implemented in Swift are therefore omitted.

// ‼️ Changes should also be reflected in `objc-header-import-test.m`.

#import <Firebase.h>
#import <FirebaseABTesting/FirebaseABTesting.h>
#import <FirebaseAnalytics/FirebaseAnalytics.h>
#import <FirebaseAuth/FirebaseAuth.h>
#import <FirebaseCore/FirebaseCore.h>
#import "Firebase.h"
#import "FirebaseABTesting/FirebaseABTesting.h"
#import "FirebaseAnalytics/FirebaseAnalytics.h"
#import "FirebaseAuth/FirebaseAuth.h"
#import "FirebaseCore/FirebaseCore.h"
#if (TARGET_OS_IOS && !TARGET_OS_MACCATALYST) || TARGET_OS_TV
#import <FirebaseInAppMessaging/FirebaseInAppMessaging.h>
#import "FirebaseInAppMessaging/FirebaseInAppMessaging.h"
#endif
Loading

0 comments on commit 192be33

Please sign in to comment.