Is it possible to execute an xcrun command from XCTest when targeting iOS?
Access to xcrun simctl during test setup could be extremely valuable. For example,
This is possible when the target is macOS via Process(), but that doesn't exist for an iOS Test Host. And trying to dynamically load the class crashes the bundle.
Access to xcrun simctl during test setup could be extremely valuable. For example,
Post a notification to the simulator
Reset the simulator's privacy settings (to request the dialog again)
Add media to the simulator
Manipulate the keychain to skip login
Open a URL directly without having to jump through hoops
This is possible when the target is macOS via Process(), but that doesn't exist for an iOS Test Host. And trying to dynamically load the class crashes the bundle.