@@ -54,21 +54,30 @@ To integrate a Firebase SDK with your app:
5454
5555 c. Double-click the setting, click the '+' button, and add ` -ObjC `
5656
57- 10 . Drag the ` Firebase.h ` header in this directory into your project. This will
57+ 10 . Add the ` -lc++ ` flag to ** Other Linker Settings** :
58+
59+ a. In your project settings, open the ** Settings** panel for your target.
60+
61+ b. Go to the Build Settings tab and find the ** Other Linker Flags** setting
62+ in the ** Linking** section.
63+
64+ c. Double-click the setting, click the '+' button, and add ` -lc++ `
65+
66+ 11 . Drag the ` Firebase.h ` header in this directory into your project. This will
5867 allow you to ` #import "Firebase.h" ` and start using any Firebase SDK that you
5968 have.
60- 11 . Drag ` module.modulemap ` into your project and update the
69+ 12 . Drag ` module.modulemap ` into your project and update the
6170 "User Header Search Paths" in your project's Build Settings to include the
6271 directory that contains the added module map.
63- 12 . If your app does not include any Swift implementation, you may need to add
72+ 13 . If your app does not include any Swift implementation, you may need to add
6473 a dummy Swift file to the app to prevent Swift system library missing
6574 symbol linker errors. See
6675 https://forums.swift.org/t/using-binary-swift-sdks-from-non-swift-apps/55989 .
6776
6877 > ⚠ If prompted with the option to create a corresponding bridging header
6978 > for the new Swift file, select ** Don't create** .
7079
71- 13 . You're done! Build your target and start using Firebase.
80+ 14 . You're done! Build your target and start using Firebase.
7281
7382If you want to add another SDK, repeat the steps above with the xcframeworks for
7483the new SDK. You only need to add each framework once, so if you've already
0 commit comments