title: iOS script is not running on Appium
body: <p>When I'm trying to run iOS scripts the Appium server is running but just shows listener started on 0.0.0.0:4723. I don't know where the error is  ?</p>
  <p>Appium: Server is not running</p>
  <pre><code> AlexHacki- Downloads % appium --base-path /wd/hub 
   [Appium] Welcome to Appium v1.23.0
   [Appium] Appium REST http interface listener started on 0.0.0.0:4723. 
  </code></pre>
  <p>Capabilities for iOS</p>
  <pre><code>capabilities: {
      platformName: 'iOS',
      deviceName: 'iPhone',
      app: '/Users/Documents/iOSTest.ipa',
      automationName: 'XCUITest',
      platformVersion: '15.4',
      noReset: true,
      formFactor: 'MOBILE'
      
    },
  </code></pre>
  <p>Error: After running the script</p>
  <pre><code>      022-06-09T07:00:00.296Z INFO @wdio/local-runner: Run worker command: run
   2022-06-09T07:00:00.607Z DEBUG @wdio/config:utils: Found 'ts-node' package, auto-compiling TypeScript files
   2022-06-09T07:00:00.979Z DEBUG @wdio/local-runner:utils: init multiremote session
   2022-06-09T07:00:00.984Z ERROR @wdio/runner: Error: Required option &quot;capabilities&quot; is missing
     at validateConfig (/Users/alex/Documents//__tests__/appium/node_modules/@wdio/config/build/utils.js:53:19)
           at remote (/Users/alex/Documents/node_modules/webdriverio/build/index.js:58:48)
           at /Users/alex/Documents/webdriverio/build/index.js:139:51
           at Array.map (&lt;anonymous&gt;)
           at multiremote (/Users/alex/Documents/node_modules//webdriverio/build/index.js:138:36)
           at initialiseInstance (/Users/alex/Documents/node_modules/@wdio/runner/build/utils.js:73:57)
           at Runner._startSession (/Users/alex/Documents/appium/node_modules/@wdio/runner/build/index.js:223:93)
           at Runner._initSession (/Users/alex/Documents/appium/node_modules/@wdio/runner/build/index.js:176:36)
           at Runner.run (/Users/alex/Documents/appium/node_modules/@wdio/runner/build/index.js:88:30)
      2022-06-09T07:00:13.403Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1
      [ FAILED in /Users/alex/Documents/iOSTest.ipa - /test/specs/smoke/guide.test.js
      2022-06-09T07:00:13.403Z INFO @wdio/cli:launcher: Run onWorkerEnd hook
      2022-06-09T07:00:13.404Z DEBUG @wdio/cli:utils: Finished to run &quot;onWorkerEnd&quot; hook in 0ms
      2022-06-09T07:00:13.404Z INFO @wdio/cli:launcher: Run onComplete hook
      Can't generate report portal launch url
      Error: Request failed with status code 401: 
          at /Users/alex/Documents/appium/node_modules/reportportal-js-client/lib/rest.js:33:23
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
          at async Function.getLaunchUrlByParams (/Users/alex/Documents/appium/node_modules/wdio-reportportal-service/src/index.js:108:20)
          at async Function.getLaunchUrl (/Users/alex/Documents/node_modules/wdio-reportportal-service/src/index.js:92:12)
          at async Object.onComplete (/Users/alex/Documents/appium/conf/shared.conf.js:60:18)
          at async /Users/alex/Documents/node_modules/@wdio/cli/build/utils.js:96:13
          at async Promise.all (index 0)
          at async Launcher.run (/Users/alex/Documents/__tests__/appium/node_modules/@wdio/cli/build/launcher.js:96:39)
      Report portal link undefined
          at /Users/alex/Documents/__tests__/appium/node_modules/reportportal-js-client/lib/rest.js:33:23
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
      Error: Request failed with status code 401: 
          at /Users/alex/Documents/node_modules/reportportal-js-client/lib/rest.js:33:23
          at processTicksAndRejections (internal/process/task_queues.js:95:5)
      2022-06-09T07:00:14.462Z DEBUG @wdio/cli:utils: Finished to run &quot;onComplete&quot; hook in 603ms
  </code></pre>