Skip to content

Commit f763162

Browse files
authored
Update instructions to ensure M1 version is used (#7086)
Right now CocoaPods will treat the `M1` as a beta designation, pulling in `7.X` over `7.X-M1`. The only way at the moment to pull in the proper M1 version is to explicitly specify it. We'll need to look into a way we can do this in a more user friendly way.
1 parent 594fd8d commit f763162

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

AppleSilicon.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ When specifying which version of Firebase you'd like in your Podfile, append `-M
2222
See the following examples:
2323

2424
```
25-
# Explicitly require the special `M1` tagged Firebase version, locked to the major version.
26-
pod 'Firebase/Analytics', '~> 7.2-M1'
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'
2729
2830
# Do the same for any other Firebase pod used.
29-
pod 'Firebase/Database', '~> 7.2-M1'
30-
31-
# You can also lock on the minor or patch versions like so:
32-
pod 'Firebase/Analytics, '~> 7.2.0-M1'
33-
pod 'Firebase/Analytics, '7.2.0-M1'
31+
pod 'Firebase/Database', '7.2-M1'
3432
```
3533

3634
Remember: now you need to manually add `-ObjC` to avoid a runtime crash. This CocoaPods issue has

0 commit comments

Comments
 (0)