-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Riccardo Cipolleschi
committed
Feb 23, 2022
1 parent
d7f112c
commit f3cb438
Showing
2 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
:::info | ||
In case of issue with Cocoapods on a Mac M1, look at [how to set them up properly](https://reactnative.dev/docs/environment-setup#cocoapods). | ||
::: | ||
<details> | ||
<summary>Note for Mac M1 users</summary> | ||
|
||
Mac M1 architecture is not directly compatible with Cocoapods. If you encounter issues when installing pods, you can solve it by running: | ||
|
||
- `sudo arch -x86_64 gem install ffi` | ||
- `arch -x86_64 pod install` | ||
|
||
These commands install the `ffi` package, to load dynamically-linked libraries and let you run the `pod install` properly, and runs `pod install` with the proper architecture. | ||
|
||
</details> |