Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.8/bin/tidevice", line 8, in <module>

sys.exit(main())


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/__main__.py", line 407, in main

actions[args.subparser](args)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/__main__.py", line 203, in cmd_xctest

d.xctest(args.bundle_id, logger=setup_logger(level=logging.INFO))


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 982, in xctest

pid = self._launch_wda(bundle_id, session_identifier, logger)


 "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tidevice/_device.py", line 838, in _launch_wda

raise MuxError("Launch failed")
tidevice.exceptions.MuxError: Launch failed
Traceback (most recent call last):

 "/Users/colinww/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 256, in paintEvent
self._draw_fold_region_background(block, painter)

 "/Users/colinww/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 300, in _draw_fold_region_background
end = self.folding_regions[start]KeyError: 141