ios – How one can snapshot check Swift Package deal Supervisor (SPM) that incorporates SwiftUI views

0
27


We’re breaking the app in a modular method and extracted the UI in a SwiftPM. It solely incorporates SwiftUI views and nothing extra. We efficiently included the Pointfree snapshot library into the SPM.

The difficulty comes after we attempt to run the checks.
Once we enter:

xcodebuild -scheme <scheme> construct -sdk iphonesimulator -destination "platform=iOS Simulator,identify=iPhone 14"

it offers us the next error:

Testing failed: Pseudo Terminal Setup Error xctest encountered an error (Failed to put in or launch the check runner. (Underlying Error: Pseudo Terminal Setup Error. ErrorCode: 7 Errno: 6. (Underlying Error: The operation couldn’t be accomplished. System not configured)))

Similary if we enter:

xcodebuild -scheme <scheme> construct -sdk iphonesimulator -destination 'platform=iOS Simulator,identify=iPhone 14'

we get BUILD SUCCEEDED

I simply could not discover something, so any assist will likely be a lot appreciated.

Thanks!