I'd like to use xcodebuild to build an app with a command like:
xcodebuild -scheme my-app -workspace my-app.xcworkspace CONFIGURATION_BUILD_DIR=/tmp
which will create a my-app.app in /tmp/. Then, further down my CI pipeline I would like to use this generated app to test:
xcodebuild __some command to use my-app.app for testing__ test.
Is this possible? I'm happy to use xcodebuild or xctool or any other tool to accomplish this.