msmialko
msmialko

Reputation: 1619

NSLog on the iPhone device

I wanted to test my app on the device, but I dont want now to buy apple licence for 99$.

I read some tutorials on the Internet and installed my app, but I cant debug it. Xcode says that "Error launching remote program: faileds to get the task for process 731"

App works fine, but I cant debug it.

Maybe break points arent the most important for me. The worst thing is that NSLog() doesnt work when I run app on the device...

What can I do?

Upvotes: 0

Views: 872

Answers (4)

tc.
tc.

Reputation: 33592

The "Console" tab in the Xcode Organizer or iPhone Configuration Utility will give you device log messages. It gives messages for all apps (not just yours!) but that's not the end of the world, really.

Your app is missing the entitlement <key>get-task-allow</key><true/>. You might be able to self-sign it with this to make it work. I'm not sure, since I'm not sure what steps you're following to get it to run.

Upvotes: 1

Sandro Meier
Sandro Meier

Reputation: 3051

Buy an iPhone Developer Licence. 99$/Year aren't this much. If you create one paid app, you'll get more than that back. ;-) I know it. I did that myself. ;-)

Upvotes: 3

Tal Bereznitskey
Tal Bereznitskey

Reputation: 2051

Instead of NSLog, write to a log file and then read it.

You can transfer it to your PC/Mac by mailing it from your application or just upload it to your computer with SSH if you have a jailbroken iPhone device.

Upvotes: 0

taskinoor
taskinoor

Reputation: 46037

I am afraid that you can't do this without proper development profile. Please correct me if I am wrong.

Upvotes: 1

Related Questions