Skip to content

Commit 9e3b78c

Browse files
authored
Add ObjC instruction (#7070)
* Add ObjC instruction * Update status of merged PR * Remove extra whitespace.
1 parent f019de2 commit 9e3b78c

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

AppleSilicon.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,12 @@ and are listed below with the current status.
1111
### Analytics + GoogleAppMeasurement
1212

1313
As of Firebase 7.2.0, FirebaseAnalytics and GoogleAppMeasurement provide a separate distribution of
14-
an XCFramework in order to work around an issue with CocoaPods and static XCFrameworks. This is a
15-
temporary workaround while Analytics is affected by the CocoaPods bug.
14+
an XCFramework in order to work around an issue with CocoaPods and static XCFrameworks.
15+
16+
**IMPORTANT**: After adding the CocoaPod, you must manually add `-ObjC` to your `Other Linker Flags`
17+
in order to avoid a runtime crash.
18+
19+
This is a temporary workaround while Analytics is affected by the CocoaPods bug.
1620

1721
When specifying which version of Firebase you'd like in your Podfile, append `-M1` to the version.
1822
See the following examples:
@@ -29,9 +33,10 @@ pod 'Firebase/Analytics, '~> 7.2.0-M1'
2933
pod 'Firebase/Analytics, '7.2.0-M1'
3034
```
3135

32-
The CocoaPods issue has been fixed in
33-
[CocoaPods/CocoaPods#10234](https://github.com/CocoaPods/CocoaPods/pull/10234) but has not been
34-
included in a CocoaPods release yet.
36+
Remember: now you need to manually add `-ObjC` to avoid a runtime crash. This CocoaPods issue has
37+
been fixed in
38+
[CocoaPods/CocoaPods#10234](https://github.com/CocoaPods/CocoaPods/pull/10234) and is merged for
39+
the upcoming CocoaPods 1.10.1 patch release.
3540

3641
### Performance
3742

0 commit comments

Comments
 (0)