Could not change contexts in iOS Simulator

Hello guys,
I am trying to automate an hybrid app using appium. whenever I launch the app and try to change the context it throws the following error.

error: [REMOTE] Could not connect to WebKitRemoteDebugger server

I have read iOS Simulators do not require ios_webkit_debug_proxy. Can anyone tell what is the problem.

Appium 1.4.13
Xcode 7.1
iOS Simulator 9.2
OSX 10.10.5