iOS: Solving the issue of getting logs from real devices when testing using Appium?

If your tests are passing on simulator and failing on real devices. Finding the issue that is causing the tests to fail on real devices is time consuming. In my case the logs are not being fetched from the real device by Appium. After going through old issues and commits on Appium GitHub source. I found that this issue was solved by Appium but it is not being mentioned anymore in the documentation.

My mac system information,

  • OS_NAME: macOS Mojave