If the app logs large text for example API response then appium hangs and does not proceed to next command. When response log is disabled it started working. This issue is only happening in 1.3.1 version with Xcode 6.1.
Changing log level or logging to a file did not help.