I'm automating desktop applications on macOS ( Sonoma at the moment ) using Appium, Python, and the new Appium Mac2 Driver. I have created a working POC ( Proof of Concept ) on my host/primary machine. I'm attempting to duplicate this POC within a Parallels virtual environment.
The Error:
[WebDriverAgentMac] Mac2Driver host process has exited with code null, signal SIGABRT
*I've looked in many places online about this error but came up empty handed. *
What I'm using to accomplish desktop app automation:
- Test Automation with Appium Python
- Appium Mac2 Driver
- Parallels ( Running Sonoma VM on Sonoma host OS )
- Appium 2.4.1
- Appium-Python-Client
- Python 3.12
The automation process works fine on my host. After setting up the codebase and dependencies on the Parallels VM ( Shared Network btw ), all is well right up until the point where the driver is starting...
Please help! **I've linked both of the Appium server logs ( DEBUG ) below:
*My goal with this project is to ensure the setup is working, iron out a README, and start creating some base images/snapshots of various macOS so that other teammates can pull them down and run automations of the application themselves, without much code setup. *
I finally found my issue, by finding out how to enable show-server-logs in appium python, I was able to dig deeper. Ran
xcodebuild -runFirstLaunchand this fixed the issue! Here is a code snippet for my Driver, showing server logs using Python:Here is the error I was seeing after I enabled server logs: