# Facing issue while running appium grid on multiple iOS devices. Getting "iproxy exited with code '208'"

**URL:** <https://discuss.appium.io/t/facing-issue-while-running-appium-grid-on-multiple-ios-devices-getting-iproxy-exited-with-code-208/18300>\
**Category:** Support\
**Created:** [August 18, 2017, 1:59pm UTC](https://discuss.appium.io/t/facing-issue-while-running-appium-grid-on-multiple-ios-devices-getting-iproxy-exited-with-code-208/18300 "2017-08-18T13:59:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SharmaSumit](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/ea5d25/32.png) [@SharmaSumit](https://discuss.appium.io/u/SharmaSumit)\
**Post date:** [August 18, 2017, 1:59pm UTC](https://discuss.appium.io/t/facing-issue-while-running-appium-grid-on-multiple-ios-devices-getting-iproxy-exited-with-code-208/18300/1 "2017-08-18T13:59:13Z")

</div>

I am trying to execute scripts on multiple iOS devices. I have registered nodes to Selenium Grid successfully and its up now. But scripts are running only in one devices. For another device i am getting below error.

Output from xcodebuild will not be logged  
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB  
[debug] [XCUITest] iproxy exited with code ‘208’  
[debug] [BaseDriver] Event ‘wdaStartFailed’ logged at 1503063165426 (19:02:45 GMT+0530 (IST))  
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: iproxy exited with code ‘208’  
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying  
[XCUITest] Shutting down sub-processes  
[debug] [XCUITest] Removing WDA application from device  
[debug] [XCUITest] Error : Command ‘ios-deploy --uninstall\_only --id b2091516106b80389fde0ba53b054a8376ac2482 --bundle\_id com.apple.test.WebDriverAgentRunner-Runner’ exited with code 253  
[XCUITest] Error: Could not remove app: ‘Command ‘ios-deploy --uninstall\_only --id b2091516106b80389fde0ba53b054a8376ac2482 --bundle\_id com.apple.test.WebDriverAgentRunner-Runner’ exited with code 253’  
at IOSDeploy.remove$ (…/…/lib/ios-deploy.js:25:13)  
at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)  
at GeneratorFunctionPrototype.invoke [as \_invoke] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:315:22)  
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)  
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37)  
at   
at process.\_tickCallback (internal/process/next\_tick.js:188:7)  
Error: Could not remove app: ‘Command ‘ios-deploy --uninstall\_only --id b2091516106b80389fde0ba53b054a8376ac2482 --bundle\_id com.apple.test.WebDriverAgentRunner-Runner’ exited with code 253’  
at IOSDeploy.remove$ (…/…/lib/ios-deploy.js:25:13)  
at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)  
at GeneratorFunctionPrototype.invoke [as \_invoke] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:315:22)  
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:100:21)  
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:136:37)  
at   
at process.\_tickCallback (internal/process/next\_tick.js:188:7)  
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.  
[debug] [iOSLog] Stopping iOS log capture  
[MJSONWP] Encountered internal error running command: Error: Could not remove app: ‘Command ‘ios-deploy --uninstall\_only --id b2091516106b80389fde0ba53b054a8376ac2482 --bundle\_id com.apple.test.WebDriverAgentRunner-Runner’ exited with code 253’  
at IOSDeploy.remove$ (…/…/lib/ios-deploy.js:25:13)  
at tryCatch (/usr/local/lib/node\_modules/appium/node\_modules/babel-runtime/regenerator/runtime.js:67:40)

---

<div class="post-metadata">

**Author:** ![SharmaSumit](https://discuss.appium.io/letter_avatar_proxy/v4/letter/s/ea5d25/32.png) [@SharmaSumit](https://discuss.appium.io/u/SharmaSumit)\
**Post date:** [August 18, 2017, 2:23pm UTC](https://discuss.appium.io/t/facing-issue-while-running-appium-grid-on-multiple-ios-devices-getting-iproxy-exited-with-code-208/18300/2 "2017-08-18T14:23:51Z")

</div>

Issue has been resolved after adding different port number for “wdaLocalPort” as capability for different devices.

Below link helped me.

> <https://github.com/appium/appium/issues/7879>
