07-21-2023, 09:18 PM
**Working in Sept 2021, Mac M1**
I just want to add to [Medhi's answer][1], to do a "pod repo update" within the same terminal inside the iOS folder, because that was critically fixing the error for me.
Here's the complete To-do-list:
1. Duplicate the Terminal application in the Utilities folder.
2. Right click on the app and choose "Get Info".
3. Rename the other version of the app as you like.
4. Check the option "open with Rosetta".
5. Install Cocoapods with the command `sudo gem install cocoapods`
6. Type the command line `sudo gem install ffi` to fix the ffi bundle problem.
7. **Go to the iOS folder of your app in the same terminal**
8. **Do `pod repo update`**
9. Now you can do a `pod install` without a problem.
[1]:
I just want to add to [Medhi's answer][1], to do a "pod repo update" within the same terminal inside the iOS folder, because that was critically fixing the error for me.
Here's the complete To-do-list:
1. Duplicate the Terminal application in the Utilities folder.
2. Right click on the app and choose "Get Info".
3. Rename the other version of the app as you like.
4. Check the option "open with Rosetta".
5. Install Cocoapods with the command `sudo gem install cocoapods`
6. Type the command line `sudo gem install ffi` to fix the ffi bundle problem.
7. **Go to the iOS folder of your app in the same terminal**
8. **Do `pod repo update`**
9. Now you can do a `pod install` without a problem.
[1]:
[To see links please register here]