How to swipe in Appium 1.6.4-beta?

Solved the issue. It works perfectly fine now.
Thanks to @bgalperin who had commented in this link

Steps:

  1. npm uninstall -g appium
  2. npm install -g [email protected]
  3. Open WebDriverAgent project in Xcode and clean it
  4. Make sure this project is properly signed by your development team
  5. Run test (it will automatically rebuild WDA)

I tried both Option#1 and Option#2 (mentioned in the first thread) and it worked fine.

Thanks @Brian_Watson, @Aleksei, @Mayuresh_Shirodkar and @VikramVI for your time and suggestions.