I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it through terminal it is giving me the following error.I didn\'t ch
Solved the problem
Deleting contents of ~/Library/Application Support/iPhone Simulator
and re-run the project solved this problem.
or you can simply reset content and setting of the simulator.
You can also remove the app from the simulator.
This worked for me in iOS6.1
just reset your simulator and re-run your project
This error occurs on iOS 7.0 if you leave the "Build" empty. Enter a build number!
I encountered this problem while trying to create a build for Facebook application approval. I found that for some reason, when I used the following command line:
xcodebuild -arch i386 -sdk iphonesimulator7.1 -scheme Mana -configuration Release
the files didn't end up in [project root]/build/...
(as the instructions on Facebook suggest), but in ~/Library/Developer/Xcode/DerivedData/[app name + unique identifier]/Build/Products.
I'm not sure exactly what's going on here (anyone who knows more please enlighten me!) but I was able to run the files in the DerivedData directory on the simulator. Hopefully they'll also work for Facebook!
Try manually launch the iOS Simulator and from the "iOS Simulator" menu, click "Reset content and settings", then close and rebuild your app.