Xcode Cloud disables code indexing (COMPILER_INDEX_STORE_ENABLE=NO) — How to enable for tools like Periphery?

I've noticed that when using the Test action in an Xcode Cloud workflow, the xcodebuild command includes COMPILER_INDEX_STORE_ENABLE=NO while performing build-for-testing.

This disables the index store, which is required by tools like Periphery to analyze unused code. Without indexing, Periphery triggers a fresh build internally, resulting in a significant increase in CI build time.

Is there any way to enable indexing (COMPILER_INDEX_STORE_ENABLE=YES) on Xcode Cloud? Or alternatively, is there a recommended workaround to generate and access the index store?

Any help is appreciated.

Xcode Cloud disables code indexing (COMPILER_INDEX_STORE_ENABLE=NO) — How to enable for tools like Periphery?
 
 
Q