Can't run my app with "ionic cordova run ios" after updating to IOS 12 and XCODE 10

I used to test my application using the command:
ionic cordova run ios -lc
Today I had to update to IOS 12 and Xcode 10, now that command does not work anymore. Even without -lc. The only way to test on the phone is to build the app and run it using Xcode.
No errors are produced.

Someone know how to resolve this?


So I found this solution:

ionic cordova run ios --buildFlag="-UseModernBuildSystem=0" -lc

this because Xcode 10 (required for Iphone10) use by default a different building method not supported by ionic. the flag ionic cordova run ios --buildFlag="-UseModernBuildSystem=0" -lc. This equals setting the legacy building method in xcode if you build with it.

1 Like

You’ve found a right solution, I guess.
Regarding to new XCode 10 release, there’s an announcement for cordova-ios from Apache/cordova-ios team.
Here’s the link:

This will make everything clear. Thanks.

1 Like

Cordova released the 5.5