Let's see what I have:
- Mac OS X Leopard 10.5.8;
- Xcode 3.1.4;
- jailbreaked iPhone 3.1 (7C144)
For debugging I use simulator, but it's not so useful especial when you need some device futures. Now I need start debug on real device. When I try make "Device - iPhone OS 3.1" I got message "Codesign error: no certificate for identifier "iPhone Developer" was found in your keychain".
Official way that can solved my problem pay $99 per year and get all needed certificates. This way absolutely unacceptable, because I would like make the free software. Second way that I know from my hand book "iPhone Open Application Development" by J. Zdziarski it's make toolchain from unofficial binary distributions and use console command like this: "arm-apple-darwin-gcc –o myexample myexample.m -lobjc –framework corefoundation –framework foundation –framework uikit" or create make file that build the app and then on iPhone device write in console ldid -S path-to-app that sign my app. It's not too useful if you need debug. When you change a few symbols in code and need again and again send it on device.
Who can tell me one more way how can I use Xcode 3.1.4, and iPhone 3.1 that debug my app? I have feeling that need some hack on Xcode that it does allow me to start debug.