1.Problem analysis
M1 MacBook has no problem in installing cocoapods, but there are many problems in pod install, such as LoadError – dlopen (/ library/RUBY/GEMS/2.6.0/GEMS/ffi-1.14.2/lib/FFI)_ c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_ c.bundle – /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_ c.bundle。 This is a compatibility issue
2.Solutions
According to this, the terminal enters the following command:
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
Read More:
- [Solved] Mac Notebook M1 Chip Install Hashlips library npm error
- M1 Computer: How to Solve pod update
- M1 MacBook cannot use pip to install pandas [How to Solve]
- Pod install Error: LoadError [How to Solve]
- Yarn install error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: ‘install‘
- [Solved] Mac M1 Brew install Error: Command failed with exit 128:git
- [kubernetes] the pod instance of calico node always reports an error and restarts
- How to Solve Macbookm1 pod error
- git clone,pod install error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
- Mac M1 Start Virtual Machine Centos8 with PD to install Kafka error: Error: VM option ‘UseG1GC‘
- [Solved] pod CDN: trunk Repo update failed – 56 error(s):
- [Solved] Install nginx make & make install error report record
- How to Solve Xcode M1 simulator Error
- Uniapp: TypeError: Cannot read property ‘apply‘ of undefined (H5 does not report an error, but the real machine runs with an error)
- CARLA Report an Error: rpc server [How to Solve]
- The problem of using GB2312 encoding in .NET Core to report errors
- Error from server (BadRequest): a container name must be specified for pod
- [Solved] pod Error: back off restarting failed container
- Report Duplicate keys detected: ‘0’. This may cause an update error in VUE and the solution
- How to Solve pod Error: “Authentication token is invalid or unverified. Either verify it with the email that…”