So I tried to run my iOS Cordova hybrid app on the emulator with the following command
cordova run ios --emulator
What came back to me was a nasty error, which would not let me build the app on the emulator:
If you like this content and found it helpful, please consider supporting me with a small donation.
TypeError: Cannot read property 'replace' of undefined
I have found this solution on stackoverflow, which fixed it for me
cd platforms/ios/cordova/node_modules/ sudo npm install ios-sim@latest