" npx cap add ios" fails with error "Updating iOS native dependencies with pod install - failed!"

Solution 1:

I ran the following command in the terminal

sudo xcode-select --reset

and got rid of the error for me

Solution 2:

after this run following command line by line

  1. cd ios
  2. cd App
  3. pod install
  4. cd ..
  5. cd ..

and then check by ionic cap open ios problem solved :) :)