<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/82111>82111</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[QA] Is it possible to connect lldb to iPhone?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
wojciech-kulik
</td>
</tr>
</table>
<pre>
I would like to debug my apps using lldb from the command line by starting the remote session on my iPhone.
It works perfectly while debugging on the simulator. However, to connect to a remote server it is required to first start the server on the device side.
Xcode somehow performs this operation, but I wasn't able to find any CLI tool (browsed all /Applications/Xcode.app/Contents/Developer/usr/bin tools) to do that.
Here is also a very similar topic created by someone else:
https://stackoverflow.com/questions/72924217/is-it-possible-to-launch-an-iphone-debugserver-without-jailbreaking-using-lldb-o
Is it possible to do that or does Xcode use some protected protocol to start the server?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkU02PqzgQ_DXOpUUEDgnJgcPsG6E30h52b3s1did4Ytw8dxOUf78yzOjN7F6M8UdVuavLMPtbRGzV8Q91fN2ZWQZK7ULv1qMdivsc_H3Xk3u2b7DQHBwEf0cQAof9fIPxCWaaGGb28QYhuB6uiUaQAcHSOJqYb0SE_gksJkk-ljcTjiQIjMyeIlDMUP6vgSLuQZWvqnzZxjeBhdKdYcJ0RSvhCcvgA24CbhmP4grJfpyDEUp7-EkLPjAp_SNLtRQjWslT85s4PTCBF_AMCX_NPqHLJ64-sWxaN9Tt4AeHw4e3mcrh_qvKfyw5BKYRB1pWqZRGBhk8A02YjHiKWU4_C7zBYjgq3QiYPuDGGh2Y-IQff76BEAVQ-twnWhgdmJB_u5dpCt6uSKx0t1LuzTQp3f2gKBglL7_iA0OmVLqbOY-9jyskK31ZnSOQwcg3_T8xYa6ECZyL9MD0zPX0wSQQmrwFm9AIutVIGpEiAgZGdXj5ijOITJzXdKd0x2LsnR6YroGWvaVR6e7XjPz5hEZfdK2rRunOc-GlmIjZ9wELoSKYOdqhMLHwU26LYjV8s6NYvAw0S_FufOgTmruPt2JtwiI3YUHfWoizz5_YX0oAlMARMmz2zbxZCFMiQZtfm2dkKeRL_-0Jdeh2rj24y-FidthWTXmuzuXxVO-G9noxF6dPJ9sfj3iwjTm5pm50XdVXrQ0edr7Vpa5LXTVVfTiV9d7W52tTX3uH9bm3xqm6xNH4sA_hMe4p3Xaeecb2rKuq2gXTY-A1tlpHXGDdVFrnFKc23ylytVRdBs_Cv1HES1jz_veLOr7C_2vzmZY1zEIfocyPnVNovxt88zLM_YezmeLjU0yJ3tHKaizPmM1ehf8bAAD__9RTgg8">