Hi,
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.
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.
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: