WARN Finding XcodePath by symlink because TypeError: Invalid attempt to destructure non-iterable instance
error: Arguments to path.resolve must be strings
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
error: Failed to start an Appium session, err was: TypeError: Arguments to path.resolve must be strings
info: [debug] TypeError: Arguments to path.resolve must be strings
at Object.posix.resolve (path.js:439:13)
at getVersionWithoutRetry$ (lib/xcode.js:112:26)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as next
at invoke (/usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at bound (domain.js:254:14)
at runBound (domain.js:267:12)
at /usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:165:16
at runMicrotasksCallback (node.js:337:7)
at process._tickDomainCallback (node.js:381:11)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Arguments to path.resolve must be strings)","origValue":"Arguments to path.resolve must be strings"},"sessionId":null}
Would you please help me to resolve this issue ? or explain for me about this issue ?
Hi Guys,
After start Appium by command :
I ran the test case:
I got error:
WARN Finding XcodePath by symlink because TypeError: Invalid attempt to destructure non-iterable instance error: Arguments to path.resolve must be strings info: [debug] Stopping iOS log capture info: [debug] Running ios sim reset flow info: [debug] Killing the simulator process info: [debug] Killing any other simulator daemons info: [debug] On a real device; cannot clean device state info: [debug] Cleaning up appium session error: Failed to start an Appium session, err was: TypeError: Arguments to path.resolve must be strings info: [debug] TypeError: Arguments to path.resolve must be strings at Object.posix.resolve (path.js:439:13) at getVersionWithoutRetry$ (lib/xcode.js:112:26) at tryCatch (/usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke as _invoke at GeneratorFunctionPrototype.prototype.(anonymous function) as next at invoke (/usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:136:37) at bound (domain.js:254:14) at runBound (domain.js:267:12) at /usr/local/lib/node_modules/appium/node_modules/appium-xcode/node_modules/babel-runtime/regenerator/runtime.js:165:16 at runMicrotasksCallback (node.js:337:7) at process._tickDomainCallback (node.js:381:11) info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Arguments to path.resolve must be strings)","origValue":"Arguments to path.resolve must be strings"},"sessionId":null}
Would you please help me to resolve this issue ? or explain for me about this issue ?
Thank you so much, VuNguyen