How to run CocoaPods on Apple Silicon (M1)
EDIT: I recently disabled Rosetta, and Cocoapods runs just fine with the addition of the ffi gem.
For anyone else struggling with this issue, I just found a way to solve it. In addition to running terminal in Rosetta:
- Right-click on Terminal in Finder
- Get Info
- Open with Rosetta
I installed a gem that seems to be related to the symbol not found in the error:
sudo gem install ffi
After doing this, cocoapods runs as expected.
How to run CocoaPods on Apple Silicon (M1)
EDIT: I recently disabled Rosetta, and Cocoapods runs just fine with the addition of the ffi gem.
For anyone else struggling with this issue, I just found a way to solve it. In addition to running terminal in Rosetta:
- Right-click on Terminal in Finder
- Get Info
- Open with Rosetta
I installed a gem that seems to be related to the symbol not found in the error:
sudo gem install ffi
After doing this, cocoapods runs as expected.
Related Topics
Is [Uiscreen Mainscreen].Bounds.Size Becoming Orientation-Dependent in Ios8
Returning Method Object from Inside Block
Class Does Not Implement Its Superclass'S Required Members
How to Get My Ip Address Programmatically on Ios/Macos
Prevent Screen Capture in an iOS App
How to Hide Google Maps Location Dot
How to Get Current Location from User in Ios
Importing Commoncrypto in a Swift Framework
Number of Days Between Two Nsdates
How to Use Background Thread in Swift
Custom Uitableviewcell from Nib in Swift
Detecting Taps on Attributed Text in a Uitextview in Ios
How to Insert New Cell into Uitableview in Swift