Error run on IOS emulator after update to IOS 11 - Ionic 3

时光毁灭记忆、已成空白 提交于 2019-11-30 06:29:50

Here is problem that you are using (or better say ionic) still old version of ios-sim npm package. As apple changed simulators in iOS 11 (and platform).

Solution is to use latest ios-sim (this is valid for 22.09.2017, next week should be release a official version). So this would be mean just update ios-sim package.

Today, you need to use "latest" version.

Like:

cd platforms/ios/cordova && npm install ios-sim@latest

Here is also open issue: https://github.com/phonegap/ios-sim/issues/218

Other option is to upgrade the whole ios platform to a proper version (for iOS 11 you need at least 4.5.0):

cordova platform add ios@4.5.0

(Be careful to remove platform first!)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!