Hello everyone,
after a successful “ionic state reset” command execution, with the following output:
Removed platforms and plugins
Attempting to restore your Ionic application from package.json
Restoring Platforms
cordova platform add android@4.1.0
cordova platform add ios@3.9.0
Restore platforms is complete
Restoring Plugins
cordova plugin add cordova-plugin-inappbrowser
cordova plugin add cordova-plugin-network-information
cordova plugin add cordova-plugin-statusbar
cordova plugin add cordova-plugin-device
cordova plugin add GitHub - phonegap-build/PushPlugin: This repository is deprecated head to phonegap/phonegap-push-plugin
cordova plugin add GitHub - ionic-team/ionic-plugin-keyboard: Ionic Keyboard Plugin for Cordova
cordova plugin add GitHub - sampart/cordova-plugin-app-version: Cordova plugin to return the version number of the current app [not maintained]
cordova plugin add GitHub - apache/cordova-plugin-whitelist: [DEPRECATED] Apache Cordova - Whitelist Plugin
Restore plugins is complete
Ionic state restore completed
Ionic reset state complete
when I try to run “ionic run ios --device”, I get the following error :
ERROR running one or more of the platforms: CordovaError: The provided path “/Users/myuser/htdocs/myapp/platforms/ios” is not a Cordova iOS project.
You may not have the required environment or OS to run this project
The funny thing is that with android (ionic run android --device) everything works flawlessly.
I’m using the following lib versions:
- ionic 1.1.0
- cordova 5.2.0
- cordova ios 3.9.0
- cordova android 4.1.0
Any suggestion would be extremely appreciated.
Thanks for your time.