No keyboard showing up in iOS simulator

If you try to input text in an input field and the test is unable because the keyboard doesn't show up in the simulator, run this before the test: 

defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool no 

This will turn off hardware keyboard in the simulator that is being launched with the tests.

Comments