I am getting the following error when building in Xcode 10.0 with swift 4.2:
Change the build setting to legacy
First, open your project in XCode by double-clicking on ios/
ios/
Then go to File > Project Settings...
Change the Build System to Legacy Build System in Per-User Project Settings: