App closed every time when perform swipe function

Hi I am using Appium 1.9 with Xcode 9.2 and iOS 11.2 for my iOS application. Every-time my app get closed when I perform swipe/TouchAction for scroll/JS for scroll function over it.

did you check appium server log ? It will give you hints about what’s going wrong when you do swipe.

Also as a suggestion check out https://github.com/vikramvi/AppiumSerenityPOC which shows usage of Serenity BDD framework with Appium to invest time in automating new test case rather than maintaining framework.