Warning when emulating iOS

Okay, so after a couple hours of frustration, I managed to get it back to work.

Here are what I’ve tried

  1. Uninstall cordova
  2. Delete .cordova (hidden) directory from ~/
  3. Delete platforms/ and plugins/ directories from my ionic project
  4. npm install ios-sim -g
  5. npm install ios-deploy -g
  6. Make sure all the dependencies I have in package.json up to date
  7. npm install
  8. npm install cordova -g
  9. ionic state reset
  10. ionic emulate ios

I know there are many steps but it works for me now. Hope it helps.

3 Likes