CocoaPods installation failure while building Unity project for iOS.
If you are using Unity to build your iOS projects and use SDK’s like Firebase, Facebook etc. which require CocoaPods, then these steps enlisted below should help you run a smooth and successful build.
Even if you are not using Unity and just using Xcode project, these steps should ensure that the pods get installed in your project successfully.