Recently, I was configuring fastlane once again and I encountered an error but I couldn’t find a solution on the Internet. I found some GitHub pages related to this Exit status: 70 and Caught error 70 but they didn’t solve my problem.
The problem occurred when I was doing screenshots using
fastlane snapshot
in command line or
capture_ios_screenshots
in Fastlane file.
I noticed that it takes a while to run 4 simulators and none of them make screenshots, so I deleted 3 of them to see logs better.
Then there wasn’t any error.
Finally, the problem was with simulators, I had two of the same simulators, I had two iPad Pro (12.9-inch) (2nd generation), and deleting one of them from Xcode solved the problem.