System. MAC OS 10.13.6
Appium. 1.13.0
after upgrade the Appium, when try to start the session to launch the app in iOS simulator. below error happened.
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] Usage: simctl list [-j | --json] [devices|devicetypes|runtimes|pairs]
[XCUITest] Error processing line 1 of /usr/local/lib/python2.7/site-packages/wxredirect.pth:
[XCUITest] Error processing line 1 of /usr/local/lib/python2.7/site-packages/wxredirect.pth:
[XCUITest] Traceback (most recent call last):
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 152, in addpackage
[XCUITest] exec line
*[XCUITest] File “”, line 1, in *
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 190, in addsitedir
[XCUITest] addpackage(sitedir, name, known_paths)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 162, in addpackage
*[XCUITest] for record in traceback.format_exception(sys.exc_info()):
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 141, in format_exception
[XCUITest] list = list + format_tb(tb, limit)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 76, in format_tb
[XCUITest] return format_list(extract_tb(tb, limit))
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 101, in extract_tb
[XCUITest] line = linecache.getline(filename, lineno, f.f_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 14, in getline
[XCUITest] lines = getlines(filename, module_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 41, in getlines
[XCUITest] return updatecache(filename, module_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 131, in updatecache
[XCUITest] with open(fullname, ‘rU’) as fp:
[XCUITest] RuntimeError: maximum recursion depth exceeded
[XCUITest] Remainder of file ignored
[XCUITest] Traceback (most recent call last):
*[XCUITest] File “”, line 1, in *
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 291, in load
*[XCUITest] *kw)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 339, in loads
[XCUITest] return _default_decoder.decode(s)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 364, in decode
[XCUITest] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 382, in raw_decode
[XCUITest] raise ValueError(“No JSON object could be decoded”)
[XCUITest] ValueError: No JSON object could be decoded
[BaseDriver] Event ‘wdaStartFailed’ logged at 1558173026615 (17:50:26 GMT+0800 (CST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command ‘Scripts/bootstrap.sh -d’ exited with code 1
[XCUITest] Quitting and uninstalling WebDriverAgent
[XCUITest] Shutting down sub-processes
[XCUITest] Removing WDA application from device
[BaseDriver] Event ‘wdaStartAttempted’ logged at 1558173037718 (17:50:37 GMT+0800 (CST))
[XCUITest] Retrying WDA startup (2 of 2)
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] Usage: simctl list [-j | --json] [devices|devicetypes|runtimes|pairs]
[XCUITest] Error processing line 1 of /usr/local/lib/python2.7/site-packages/wxredirect.pth:
[XCUITest] Error processing line 1 of /usr/local/lib/python2.7/site-packages/wxredirect.pth:
[XCUITest] Traceback (most recent call last):
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 152, in addpackage
[XCUITest] exec line
*[XCUITest] File “”, line 1, in *
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 190, in addsitedir
[XCUITest] addpackage(sitedir, name, known_paths)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py”, line 162, in addpackage
*[XCUITest] for record in traceback.format_exception(sys.exc_info()):
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 141, in format_exception
[XCUITest] list = list + format_tb(tb, limit)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 76, in format_tb
[XCUITest] return format_list(extract_tb(tb, limit))
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/traceback.py”, line 101, in extract_tb
[XCUITest] line = linecache.getline(filename, lineno, f.f_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 14, in getline
[XCUITest] lines = getlines(filename, module_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 41, in getlines
[XCUITest] return updatecache(filename, module_globals)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/linecache.py”, line 131, in updatecache
[XCUITest] with open(fullname, ‘rU’) as fp:
[XCUITest] RuntimeError: maximum recursion depth exceeded
[XCUITest] Remainder of file ignored
[XCUITest] Traceback (most recent call last):
*[XCUITest] File “”, line 1, in *
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 291, in load
*[XCUITest] *kw)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py”, line 339, in loads
[XCUITest] return _default_decoder.decode(s)
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 364, in decode
[XCUITest] obj, end = self.raw_decode(s, idx=_w(s, 0).end())
[XCUITest] File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py”, line 382, in raw_decode
[XCUITest] raise ValueError(“No JSON object could be decoded”)
[XCUITest] ValueError: No JSON object could be decoded
[BaseDriver] Event ‘wdaStartFailed’ logged at 1558173037876 (17:50:37 GMT+0800 (CST))
[XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: Command ‘Scripts/bootstrap.sh -d’ exited with code 1
Appreciate if anyone can help on this.