Skip to content

Commit

Permalink
Add ObjC instruction (#7070)
Browse files Browse the repository at this point in the history
* Add ObjC instruction

* Update status of merged PR

* Remove extra whitespace.
  • Loading branch information
ryanwilson authored Dec 2, 2020
1 parent f019de2 commit 9e3b78c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions AppleSilicon.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ and are listed below with the current status.
### Analytics + GoogleAppMeasurement

As of Firebase 7.2.0, FirebaseAnalytics and GoogleAppMeasurement provide a separate distribution of
an XCFramework in order to work around an issue with CocoaPods and static XCFrameworks. This is a
temporary workaround while Analytics is affected by the CocoaPods bug.
an XCFramework in order to work around an issue with CocoaPods and static XCFrameworks.

**IMPORTANT**: After adding the CocoaPod, you must manually add `-ObjC` to your `Other Linker Flags`
in order to avoid a runtime crash.

This is a temporary workaround while Analytics is affected by the CocoaPods bug.

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

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

### Performance

Expand Down

0 comments on commit 9e3b78c

Please sign in to comment.