Cordova IOS Build Errors (Clean project)
I was experiencing the same issue. First make sure you remove plugins that you suspect might be causing the build to fail issue. For me it was GAPlugin and network-information plugin. To do that run something like:
cordova plugin remove org.apache.cordova.network-information
You can find the list of plugins you have installed in the plugins
directory of your project.
To clean out the build area run:
./platforms/ios/cordova/clean
Then run the build command again:
cordova build ios