tags:

views:

625

answers:

4

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.

A: 

This way absolutely unacceptable

You cannot debug on the iPhone and you cannot distribute your free apps without a Paid Developer Program enrollment. The enrollment covers the costs required to host your paid or free apps. It's just how it is.

As for a hack, I don't know if one exists.

Nick Bedford
Why the downvote??
Nick Bedford
Wasn't me, but maybe because this statement is false? "You cannot debug on the iPhone and you cannot distribute your free apps without a Paid Developer Program enrollment."Check out this tutorial on hosting your own repo so you can distribute your code to other's iPhones, for free (legally): http://www.saurik.com/id/7
Charybdis
I don't mean beta testers, I mean people making the apps. You can't debug your application on iPhone(s) or release it on the Store without a Paid Developer Program enrollment.
Nick Bedford
You can release it for jailbroken iPhones, without enrolling, and you can run it on them too.
chpwn
A: 

the only thing i can think of is compiling in 2.0 and setting the codesign property to "don't codesign" (im not sure exactly what it is, i havent used it since i got my license), and installing via itunes. from there, you can open a device in the Xcode organizer and should be able to view real time console data. i use the console there for mobilesubstrate plugins and it works wonderfully, a little cluttered but it prints nslogs so im not complaining

Sj
A: 

I used to use a hacked XCode template with firmware 2.0. Unsure if it still works. Google for "hacked xcode template". It may or may not work with the newest XCode. Use at your own risk.

LeonBrussels
+1  A: 

If you would like to run your code on your iPhone without paying Apple, check out this tutorial: http://iphonedevwiki.net/index.php/Xcode#Developing_without_Provisioning_Profile

(Yes, it's legal. If you don't sign up for the Apple Dev program, you're not violating any agreements).

Charybdis