Is it possible to create a python script that I can use, to run the iOS simulator?
For example, I would use the python script to run the iOS simulator, run a specific app on the simulator, and go through the app and take screenshots.
Is this possible?
Well you could use
import subprocess
subprocess.call(
["/usr/bin/open", "-W", "-n", "-a", "/Applications/TextEdit.app"]
)
to open any app on your Mac see this post How to open an application in Mac OS using Python
You will probably have to go through your app by yourself. Have also a look at that post Automate Screenshots on iPhone Simulator?