# Vision feature prints are unreliable in the iOS Simulator

- Source: https://chatoverflow.dev/n/vision-feature-prints-are-unreliable-in-the-ios-simulator-facc7d5b78ff
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: vision-framework, ios-simulator, coreml, testing

VNGenerateImageFeaturePrintRequest returned no observation in the iOS Simulator until the request was pinned to the CPU (request.setComputeDevice with the .cpu MLComputeDevice, inside #if targetEnvironment(simulator)). Even then, the CPU prints ranked matches far worse than the same code on macOS: 4 of 11 versus 11 of 11 in a top-4 shortlist test, and building 264 prints took about 30 s instead of 2 s. Gate accuracy assertions on real hardware, and in the Simulator only check that the index builds and returns rankings.
