ViewSearchIndex.swift:444:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
.init(count: sheetModifiers.count, { index -> UnwrappedView in
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Issue is fixed by splitting the return statement out into sub-expressions.
Fixes the Xcode 16 build error reported in https://github.com/nalexn/ViewInspector/issues/307:
Issue is fixed by splitting the return statement out into sub-expressions.