@@ -5,50 +5,15 @@ using Xcode 12.0 or above. See the instructions below for CocoaPods and Carthage
5
5
6
6
## CocoaPods
7
7
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. *
10
10
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.
47
13
48
14
## Carthage
49
15
50
16
XCFrameworks are required to include the arm64 slice for iOS devices and the macOS simulator for
51
17
Macs running on Apple silicon. Unfortunately, Carthage does not support XCFrameworks yet which
52
18
prevents us from being able to include support. See
53
19
[ Carthage/Carthage #2799 ] ( https://github.com/Carthage/Carthage/issues/2799 ) for progress.
54
-
0 commit comments