I get a slightly different error in unit tests, only on my M1 laptop:
request VNDetectFaceRectanglesRequest was cancelled
But I found a solution!
#if targetEnvironment(simulator)
faceDetectionRequest.usesCPUOnly = true
#endif
Post
Replies
Boosts
Views
Activity
I have the same issue when running unit tests on my simulator on an M1 laptop. I found a working solution:
#if targetEnvironment(simulator)
faceDetectionRequest.usesCPUOnly = true
#endif