The unit suite's result is not runtime independent, and the documented command pinned one simulator.
Releasing a main-actor-isolated object aborts the test runner under iOS 18.6
with "pointer being freed was not allocated" — a Swift runtime bug in
MarkerItem::create, fixed by iOS 26.5. Every class in this project has a
synthesized isolated deinit because of SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor, and XCTest puts task-local values in scope, which is the condition
the bug needs. A four-line @Observable class with one Int reproduces it; a
DomainViewModel is not special. Measured: three of four probes crash on
iOS 18.6 and all four pass on iOS 26.5.
This is not a deployment-target question. The target only decides that a back-deploy wrapper is emitted; the wrapper forwards to the OS runtime, and the bug is in the OS runtime. An iOS 18 floor is still affected.
Scripts/audit-a11y.sh already ran floor and current for the accessibility
suite, for its own documented reason — coverage is not nested across OS
versions. Scripts/test.sh applies the same shape to DomainDigTests, and the
simulator selection both scripts need now lives in Scripts/lib/simulators.sh
rather than being copied, so the second caller cannot drift away from the build
setting the picker exists to track.
Verified:
./Scripts/test.sh— 129 tests, 0 failures on iPhone 16 (iOS 18.6) and on iPhone Air (iOS 27.0). Nothing in this project had been run against 27.0 before.- The extraction is faithful: 32 of the 34 lines removed from
audit-a11y.shappear byte for byte in the lib. The two that differ are the function boundary —exit 1becamereturn 1, which still exits the script underset -e, and the inline "floor is a major version up" test became a predicate with the same condition. ./Scripts/audit-a11y.sh floorstill selects the floor simulator and runs. Its accessibility failures are the pre-existing issue #21 findings, whichenforcedAuditTypesdeliberately enforces and which this change does not touch.bash -non all three scripts. shellcheck is not installed on this machine, so the scripts have not been linted.