How To Debug on the Target
As a precondition, you need to acquire a developer's certificate from Apple.
This certificate allows you
- to load any compiled version from your IDE onto the target
- to generate ad-hoc versions and distribute them to beta users without going through the Apple store
- to use developer tools like debugger, profiler or a performance measurement tool with the version running on the target
How to do it:
- project settings: <<missing>>
- compile the project as usual
- run / debug will load it to the target instead of the simulator
- set breakpoints, step through the program, or inspect variables as usual