Skip to content

Commit 0bc3add

Browse files
authored
[Release Tooling] Update zip integration instructions for privacy manifest support (#12449)
1 parent 8fdad7f commit 0bc3add

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

FirebaseCore/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
- Fixed validation issues in Xcode 15.3 that affected binary distributions
1212
including Analytics, Firestore (SwiftPM binary distribution), and the
1313
Firebase zip distribution. (#12441)
14+
- [Zip Distribution] The manual integration instructions found in the
15+
`Firebase.zip` have been updated for Xcode 15 users. The updated instructions
16+
call for embedding SDKs dragged in from the `Firebase.zip`. This will enable
17+
Xcode's tooling to detect privacy manifests bundled within the xcframework.
18+
1419

1520
# Firebase 10.21.0
1621
- Firebase now requires at least CocoaPods version 1.12.0 to enable privacy

ReleaseTooling/Template/README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,18 @@ To integrate a Firebase SDK with your app:
3434
box that appears, make sure the target you want this framework to be added to
3535
has a checkmark next to it, and that you've selected "Copy items if needed."
3636

37-
> ⚠ Do not add the Firebase frameworks to the **Embed Frameworks** Xcode build
38-
> phase. The Firebase frameworks are not embedded dynamic frameworks, but are
39-
> [static frameworks](https://www.raywenderlich.com/65964/create-a-framework-for-ios)
40-
> which cannot be embedded into your application's bundle.
37+
7. If using Xcode 15, embed each framework that was dragged in. Navigate to the
38+
target's _General_ settings and find _Frameworks, Libraries, & Embedded
39+
Content_. For each framework dragged in from the `Firebase.zip`, select
40+
**Embed & Sign**. This step will enable privacy manifests to be picked up by
41+
Xcode's tooling.
4142

42-
7. If the SDK has resources, go into the Resources folders, which will be in
43+
8. If the SDK has resources, go into the Resources folders, which will be in
4344
the SDK folder. Drag all of those resources into the Project Navigator, just
4445
like the frameworks, again making sure that the target you want to add these
4546
resources to has a checkmark next to it, and that you've selected "Copy items
4647
if needed".
47-
8. Add the `-ObjC` flag to **Other Linker Settings**:
48+
9. Add the `-ObjC` flag to **Other Linker Settings**:
4849

4950
a. In your project settings, open the **Settings** panel for your target.
5051

@@ -53,21 +54,21 @@ To integrate a Firebase SDK with your app:
5354

5455
c. Double-click the setting, click the '+' button, and add `-ObjC`
5556

56-
9. Drag the `Firebase.h` header in this directory into your project. This will
57+
10. Drag the `Firebase.h` header in this directory into your project. This will
5758
allow you to `#import "Firebase.h"` and start using any Firebase SDK that you
5859
have.
59-
10. Drag `module.modulemap` into your project and update the
60+
11. Drag `module.modulemap` into your project and update the
6061
"User Header Search Paths" in your project's Build Settings to include the
6162
directory that contains the added module map.
62-
11. If your app does not include any Swift implementation, you may need to add
63+
12. If your app does not include any Swift implementation, you may need to add
6364
a dummy Swift file to the app to prevent Swift system library missing
6465
symbol linker errors. See
6566
https://forums.swift.org/t/using-binary-swift-sdks-from-non-swift-apps/55989.
6667

6768
> ⚠ If prompted with the option to create a corresponding bridging header
6869
> for the new Swift file, select **Don't create**.
6970
70-
12. You're done! Compile your target and start using Firebase.
71+
13. You're done! Build your target and start using Firebase.
7172

7273
If you want to add another SDK, repeat the steps above with the xcframeworks for
7374
the new SDK. You only need to add each framework once, so if you've already

0 commit comments

Comments
 (0)