Debugging Coda Plug-In with LLDB
- Open Edit Scheme window (⌘<).
- Select Run pane from side bar.
- In Info tab, select Coda 2.app from Executable dropdown.
- Click the OK button to close the window.
- Select your your plug-in target.
- Select Build Settings tab, click Add Build Setting, select Add User-Defined Setting and set name as
INSTALL_BUNDLE
, value as1
for Debug configuration. - Switch to Build Phase tab, click Add Build Phase button and select Add Run Script
- Copy and paste the script bellow.
if [ $INSTALL_BUNDLE == 1 ]; then
...