UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CocoaPods was not found. Please install version1.0.1 or greater from https://cocoapods.org/
Issue : Some ionic plugins needs CocoaPods for the iOS platform
To resolve this issue you need to run below command in your project :
sh-3.2# pod setup
If you get "pod: command not found" error, You need to install pod in your project. To install pod use this command in your project :
sudo gem install cocoapods
If you get an error like this "You cannot run CocoaPods as root", Please run above without root (without doing login in your terminal)
Note: This command will take time to install cocoapods.
Now, after completion of "cocoapods" installation, Run below command in your project to setup pod :
pod setup
If you get an error like this "You cannot run CocoaPods as root", Please run above without root.
Nice article and it’s really helpful content for us, keep sharing like this more informational article. If you a looking Leading Mobile App Development Company
ReplyDeletein Dubai. Visit: Best Mobile App Development Company