Open SachaTe opened 10 months ago
Is there a reason you need multiple threads?
The python interpreter is just the one shipped as part of LLDB along with Xcode. I'm not sure it supports multithreading(it's not easy to search since SOOO much of the documentation is about how to debug specific threads). The main documentation is at https://lldb.llvm.org/use/python-reference.html and running Python through LLDB on an iPhone should be the same as running Python via LLDB on your local computer.
Command Executed
Running the following via python threads;
ios-deploy --id --bundle --noinstall --bundle_id --noninteractive --args --version
Expected behavior
Print the device version and return for all devices.
Actual behavior.
Prints the device version and freezes, although the app has terminated and I see the
PROCESS_EXITED
bring printed, as follows;This issue does not occur when running multiple
ios-deploy
instances in parallel via bash. However it occurs when running via multi-threads on python.Out of all the devices running on in parallel, it only passes for the last device to be executed. For example if I execute 5 threads for 5 different iphones, only the 5th thread will return.
This code used to run properly as we have been using it for over a year. Only recently (a few weeks ago) it broke. Seems to be broken on multiple macbooks.
Steps to reproduce the problem
System Specs
This occurs on multiple devices
system_profiler SPSoftwareDataType
ios-deploy -V
xcodebuild -version (please note, attempted this with XCode 14.3 as well)
xcode-select --print-path
gcc --version
lldb --version