我尝试将ios
平台添加到我的离子项目中,经过一些尝试后我得到了这个错误:
> cordova platform add ios --save
Using cordova-fetch for [email protected]
Adding superagent project...
Unable to load PlatformApi from platform. Error: Uncaught, unspecified "error" event. (Does not appear to implement platform Api.)
Error: Uncaught, unspecified "error" event. (The platform "superagent" does not appear to be a valid cordova platform. It is missing API.js. superagent not supported.)
我该如何解决?
尝试使用
ionic cordova platform add ios --save
代替