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!
However, I get the following error when trying to use the Process/NSTask class …
What platform are you targeting?
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"