Код: Выделить всё
(lldb) platform select remote-ios
Platform: remote-ios
Connected: no
SDK Path: "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPad8,7 17.0 (21A329)"
SDK Roots: [ 0] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPad8,7 17.0 (21A329)"
SDK Roots: [ 1] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPhone16,1 17.5 (21F5058e)"
SDK Roots: [ 2] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPad14,5 17.3 (21D5026f)"
SDK Roots: [ 3] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPhone16,1 17.3 (21D5026f)"
SDK Roots: [ 4] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPhone16,1 17.4 (21E5184i)"
SDK Roots: [ 5] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPad14,5 17.3 (21D50)"
SDK Roots: [ 6] "/Users/dev/Library/Developer/Xcode/iOS DeviceSupport/iPad14,5 17.4 (21E5184i)"
(lldb) target create /Users/dev/Xcode/app.app
Current executable set to '/Users/dev/Xcode/app.app' (arm64).
(lldb) script lldb.target.module[0].SetPlatformFileSpec(lldb.SBFileSpec('/private/var/containers/Bundle/Application/[app-uuid]/app.app'))
True
(lldb) process connect connect://[ipv6]:port
(lldb) target stop-hook add
Enter your stop hook command(s). Type 'DONE' to end.
> quit
> DONE
Stop hook #1 added.
(lldb) process launch
Process 1370 launched: '/Users/dev/Xcode/app.app' (arm64)
Process 1370 exited with status = 0 (0x00000000)
(lldb)
Подробнее здесь: https://stackoverflow.com/questions/783 ... n-lldb-ios