@@ -67,21 +67,34 @@ To integrate a Firebase SDK with your app:
6767
6868 c. Double-click the setting, click the '+' button, and add ` -lc++ `
6969
70- 10 . Drag the ` Firebase.h ` header in this directory into your project. This will
70+ 10 . If you're using Firebase Analytics, disable
71+ GoogleAdsOnDeviceConversion.xcframework for Mac Catalyst:
72+
73+ a. In your project settings, open the ** Settings** panel for your target.
74+
75+ b. Go to the Build Phases tab and find the
76+ ** GoogleAdsOnDeviceConversion.xcframework** setting in the ** Link Binary
77+ With Libraries** section.
78+
79+ c. Click on the filter icon button in the
80+ ** GoogleAdsOnDeviceConversion.xcframework** row and deselect the Mac Catalyst
81+ checkbox.
82+
83+ 11 . Drag the ` Firebase.h ` header in this directory into your project. This will
7184 allow you to ` #import "Firebase.h" ` and start using any Firebase SDK that you
7285 have.
73- 11 . Drag ` module.modulemap ` into your project and update the
86+ 12 . Drag ` module.modulemap ` into your project and update the
7487 "User Header Search Paths" in your project's Build Settings to include the
7588 directory that contains the added module map.
76- 12 . If your app does not include any Swift implementation, you may need to add
89+ 13 . If your app does not include any Swift implementation, you may need to add
7790 a dummy Swift file to the app to prevent Swift system library missing
7891 symbol linker errors. See
7992 https://forums.swift.org/t/using-binary-swift-sdks-from-non-swift-apps/55989 .
8093
8194 > ⚠ If prompted with the option to create a corresponding bridging header
8295 > for the new Swift file, select ** Don't create** .
8396
84- 13 . You're done! Build your target and start using Firebase.
97+ 14 . You're done! Build your target and start using Firebase.
8598
8699If you want to add another SDK, repeat the steps above with the xcframeworks for
87100the new SDK. You only need to add each framework once, so if you've already
0 commit comments