Skip to content

Commit ce9911f

Browse files
authored
Update Apple Silicon instructions (#7407)
1 parent c64ca06 commit ce9911f

File tree

1 file changed

+4
-39
lines changed

1 file changed

+4
-39
lines changed

AppleSilicon.md

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,50 +5,15 @@ using Xcode 12.0 or above. See the instructions below for CocoaPods and Carthage
55

66
## CocoaPods
77

8-
All source-based Firebase CocoaPods work as expected. Binary pods require CocoaPopds version 1.10.0
9-
and are listed below with the current status.
8+
Starting with Firebase 7.5.0, Firebase supports Apple Silicon Macs via CocoaPods. *CocoaPods 1.10.0
9+
is required.*
1010

11-
### Analytics + GoogleAppMeasurement
12-
13-
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.
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.
20-
21-
When specifying which version of Firebase you'd like in your Podfile, append `-M1` to the version.
22-
See the following examples:
23-
24-
```
25-
# Explicitly require the special `M1` tagged Firebase version, locked to the exact version. Note
26-
# that due to the version scheme, you're required to update this manually for each release otherwise
27-
# you will revert to the official release (ex. `7.2.0` instead of `7.2.0-M1`).
28-
pod 'Firebase/Analytics', '7.2-M1'
29-
30-
# Do the same for any other Firebase pod used.
31-
pod 'Firebase/Database', '7.2-M1'
32-
```
33-
34-
Remember: now you need to manually add `-ObjC` to avoid a runtime crash. This CocoaPods issue has
35-
been fixed in
36-
[CocoaPods/CocoaPods#10234](https://github.com/CocoaPods/CocoaPods/pull/10234) and is merged for
37-
the upcoming CocoaPods 1.10.1 patch release.
38-
39-
### Performance
40-
41-
As of Firebase 7.2.0, FirebasePerformance uses an XCFramework for distribution that works with
42-
Apple silicon.
43-
44-
### FirebaseML
45-
46-
FirebaseML does not yet work with the simulator on Apple silicon Macs.
11+
The special `M1` versions required for FirebaseAnalytics support for versions 7.2.0 through 7.4.0
12+
are no longer necessary.
4713

4814
## Carthage
4915

5016
XCFrameworks are required to include the arm64 slice for iOS devices and the macOS simulator for
5117
Macs running on Apple silicon. Unfortunately, Carthage does not support XCFrameworks yet which
5218
prevents us from being able to include support. See
5319
[Carthage/Carthage#2799](https://github.com/Carthage/Carthage/issues/2799) for progress.
54-

0 commit comments

Comments
 (0)