I'm trying to launch quick time player to record video and audio from the iOS simulator.
I figure I can create a shell script with arrays for each of the the languages and each device. And loop around and run a fastlane lane, passing in there parameters.
I've seen that you can use before_each in your fastfile, but this will launch well before the simulator launches, however I need to launch quick time player just as the simulator launches.
fastlane has no integrated support for QuickTime, so you'd need to do this yourself using shell scripts. Because the launch times for both QuickTime and Simulator are likely to vary, I think it will be difficult and error-prone to time this correctly.
If you want to continue exploring this approach, I would avoid using
before_eachand instead rely on a lane's ability to call another lane, e.g.:I see you're working on a fastlane pull request that uses the integrated simulator recording option instead of QuickTime. I think this is likely to be a better approach because it will remove the timing issues from the equation.