- Copy the contents of the last snippet (lldbinit) from the gist page, and paste into your .lldbinit file. This makes the ksdiff macro known inside lldb.
- Put file ksdiff.py in ~/.lldb/
sudo pip install temp
- Restart Xcode debug session
(lldb) ksdiff <any lldb command>; <any lldb command>
e.g.
(lldb) ksdiff po myArray1; po myArray2
If it doesn't work, make sure you have ksdiff
installed and the path (see below) is correct
Screenshot