Is it possible to record baseline for Performance tests with xcodebuild?

I am using xcodebuild to run unit and UI tests for my app from the command line. I am able to run these tests by using the command

xcodebuild test-without-building -xctestrun <path to xctestrun> -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max'

I am now trying to add Performance tests and need to record device-specific baselines saved in xcshareddata.

The remote mac mini that I need to use for recording has a different hardware configuration than my current laptop, so I cannot reuse the baselines recorded locally.

I have checked the documentation for xcodebuild and various build flags, but I can only find the option TREAT_MISSING_BASELINES_AS_TEST_FAILURES which fails tests if the baseline is not configured. I cannot find any information on recording baselines with xcodebuild.

Is it possible to record Performance test baselines with xcodebuild or is the XCode user interface the only option?

Thank you for any suggestions or advice.

Is it possible to record baseline for Performance tests with xcodebuild?
 
 
Q