Run the below commands to fix this.sudo gem install cocoapods then goto ios folder and run pod install