Xcode 15: Failure setting up test pre-actions script

I have a script which properly spins up a database for testing on my local machine.


I’m trying to make Xcode test pre-actions execute that, with no success.


When it reaches a line like “open -a Docker”, it successfully opens up Docker,

but if you try to execute any Docker commands, e.g. “docker run”, either nothing will happen, or it will hang (not sure which one, probably both of those are related to the command just not working at all, and how the script is set up.)


Is there any hope for such automation?

MacBook Pro 16″, macOS 12.4

Posted on Nov 6, 2023 1:46 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode 15: Failure setting up test pre-actions script

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.