While running a UI test in Xcode 8, I would like to run a command (such as ssh into a server) using the NSTask/Process class to verify that the server processed the UI command successfully. However, I get the following error when trying to use the Process/NSTask class:
'Use of unresolved identifier 'Process' (Same error when trying to use NSTask).
Is there any workaround to this? Thank you!