Error running 'get_app_container': An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): The operation couldn’t be completed. No such file or directory

Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body

[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100

[BaseDriver] Event ‘simStarted’ logged at 1653052205312 (18:40:05 GMT+0530 (India Standard Time))

[IOSSimulatorLog] Starting log capture for iOS Simulator with udid ‘73104AF0-AD4C-4FD4-859E-931E254279D4’ using simctl

[WD Proxy] Matched ‘/status’ to command name ‘getStatus’

[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body

[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100

[BaseDriver] Event ‘logCaptureStarted’ logged at 1653052206403 (18:40:06 GMT+0530 (India Standard Time))

[XCUITest] Verifying application platform

[XCUITest] CFBundleSupportedPlatforms: [“iPhoneSimulator”]

[WD Proxy] Matched ‘/status’ to command name ‘getStatus’

[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body

[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100

[simctl] Error running ‘get_app_container’: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): The operation couldn’t be completed. No such file or directory No such file or directory

[XCUITest] Installing ‘/Users/vinaychauhan/eclipse-workspace/TestFramework/lib/bin/test/apps/****.app’ on Simulator with UUID ‘73104AF0-AD4C-4FD4-859E-931E254279D4’…

[WD Proxy] Matched ‘/status’ to command name ‘getStatus’

[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body

[WD Proxy] connect ECONNREFUSED 127.0.0.1:8100

[WD Proxy] Matched ‘/status’ to command name ‘getStatus’

[WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body

[WD Proxy] Got response with status 200: {“value”:{“message”:“WebDriverAgent is ready to accept commands”,“state”:“success”,“os”:{“testmanagerdVersion”:28,“name”:“iOS”,“sdkVersion”:“15.4”,“version”:“13.0”},“ios”:{“simulatorVersion”:“13.0”,“ip”:“192.168.1.12”},“ready”:true,“build”:{“upgradedAt”:“1652581048000”,“time”:“May 20 2022 17:21:27”,“productBundleIdentifier”:“com.facebook.WebDriverAgentRunner”}},“sessionId”:null}

[WebDriverAgent] WebDriverAgent information:

[WebDriverAgent] {

[WebDriverAgent] “message”: “WebDriverAgent is ready to accept commands”,

[WebDriverAgent] “state”: “success”,

[WebDriverAgent] “os”: {

[WebDriverAgent] “testmanagerdVersion”: 28,

[WebDriverAgent] “name”: “iOS”,

[WebDriverAgent] “sdkVersion”: “15.4”,

[WebDriverAgent] “version”: “13.0”

[WebDriverAgent] },

[WebDriverAgent] “ios”: {

[WebDriverAgent] “simulatorVersion”: “13.0”,

[WebDriverAgent] “ip”: “192.168.1.12”

[WebDriverAgent] },

[WebDriverAgent] “ready”: true,

[WebDriverAgent] “build”: {

[WebDriverAgent] “upgradedAt”: “1652581048000”,

[WebDriverAgent] “time”: “May 20 2022 17:21:27”,

[WebDriverAgent] “productBundleIdentifier”: “com.facebook.WebDriverAgentRunner”

[WebDriverAgent] }

[WebDriverAgent] }

[WebDriverAgent] WebDriverAgent successfully started after 43064ms

[BaseDriver] Event ‘wdaSessionAttempted’ logged at 1653052208805 (18:40:08 GMT+0530 (India Standard Time))

[XCUITest] Sending createSession command to WDA

[WD Proxy] Matched ‘/session’ to command name ‘createSession’

[WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {“capabilities”:{“firstMatch”:[{“bundleId”:“com.***.app”,“arguments”:[],“environment”:{},“eventloopIdleDelaySec”:0,“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true,“shouldTerminateApp”:true,“forceAppLaunch”:true,“useNativeCachingStrategy”:true,“forceSimulatorSoftwareKeyboardPresence”:false}],“alwaysMatch”:{}}}

[XCUITest] The app has been installed successfully.

[BaseDriver] Event ‘appInstalled’ logged at 1653052209087 (18:40:09 GMT+0530 (India Standard Time))

[WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found

[DevCon Factory] Requesting connection for device 73104AF0-AD4C-4FD4-859E-931E254279D4 on local port 8100

[DevCon Factory] Cached connections count: 1

[DevCon Factory] Found cached connections on port #8100: [“3CE2A191-A2F9-4E02-BEF2-F0EEE32D065F:8100”]

[DevCon Factory] Successfully requested the connection for 73104AF0-AD4C-4FD4-859E-931E254279D4:8100

[XCUITest] Starting WebDriverAgent initialization with the synchronization key ‘XCUITestDriver’

[HTTP] <-- POST /wd/hub/session - - ms - -

[HTTP]

Can somebody help me to understand this … is it bug?

Why did you start a new thread? Please don’t share the entire log, most of us do not have the time to read your whole log and it takes longer to answer your question.

  1. What are you trying to actually do here? I’m not seeing a question, just that your environment is not what you think it is, because this log looks fine to me.

@Conrad_Braam I am trying to launch an appium Inspector but atlast i get " Failed to create session. Request timed out" on appium Inspector and appium gui server i get this error “[simctl] Error running ‘get_app_container’: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2): The operation couldn’t be completed. No such file or directory”. so i am unable to proceed ahead for script as appium inspector is unable to launch.

You seem to be using a macOS machine, I’m not that familiar with macOS to know which bits of the toolchain you can manually verify to find the fault cause.
I would suggest dual-booting the mac and setting up the same environment from scratch and hoping that when you install everything you are lucky and get the steps right. I’ve found that installing and setting up complex setups like appium, and making one early mistake that you try to undo badly, or change the permissions on files to be able to delete or complete an install, is often the one small mistake that breaks the environment. Also have a variety of phones of both kinds, that has helped me a lot to troubleshoot.