Detuned
Detuned

Reputation: 3758

No target specified for emulator (CORDOVA)

Cannot get cordova emulate ios to open up emulator and run my application.

I continue getting the same error:

No target specified for emulator. Deploying to iPhone-X, 12.1 simulator
/Users/osx/Code/react-cordova/platforms/ios/build/emulator/CreateReactAppAndCordova.app/Info.plist file not found.

That being said, I open up XCode and build within XCode to see the application. Is there a step that I'm missing?

I've started from this base repo: https://github.com/sriramrudraraju/create-react-app-and-cordova

Upvotes: 1

Views: 2407

Answers (1)

David Toledo
David Toledo

Reputation: 494

Try this:

cordova run ios --buildFlag='-UseModernBuildSystem=0'

Upvotes: 2

Related Questions