1 Reply
      Latest reply: Feb 10, 2017 3:03 PM by eskimo RSS
      jsayer7 Level 1 Level 1 (0 points)

        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!

        • Re: Using the NSTask/Process class in a test
          eskimo Apple Staff Apple Staff (6,765 points)

          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"