in simulator the app is working, on devices no...how can i find the problem?

Member
Posts: 164
Joined: 2010.10
Post: #1
Hello everyone, I did test the build on the above date and these are the results:

- IPod 3G the app starts but does not respond to the audio of the headset microphone (working, tested with the vocal memo).
- IPhone 3G app crashes immediately after the appearance of the spreadsheet, making it impossible to even see the main menu
- On the simulator app is functioning normally and responds to audio.

i don't know even where to point my eye on the code...some adivice to find the error?
thanks
Quote this message in a reply
Moderator
Posts: 1,560
Joined: 2003.10
Post: #2
The crash log from your iPhone should give you a good place to start. Unless it's been changed since I last used Xcode (which was quite a while ago!), you should be able to get the crash log in the organizer window while the iPhone is plugged into your Mac. If fixing that problem doesn't help your app on the iPod, you'll probably need to do some debugging with printf/gdb to find the root of the problem.
Quote this message in a reply
Member
Posts: 164
Joined: 2010.10
Post: #3
thanks a lot, i'll try
Quote this message in a reply
Member
Posts: 164
Joined: 2010.10
Post: #4
i have found that was a problem of memory, now the app works without crashing.
now.....the app uses a mic, in simulator the mic detect sounds, in device the mic doesn't detect anything!
Quote this message in a reply
Member
Posts: 164
Joined: 2010.10
Post: #5
the crash was a memory problem, now i have another strange thing:
in simulator the app respond at sound from mic, in device when i speak into the mic, no sound detection...
no error in debugger on any NSLog i have putted.
i don't know how to recognize where is the problem...
if anyone has ian idea would be great...
thanks
Quote this message in a reply
Member
Posts: 164
Joined: 2010.10
Post: #6
recorder is allocated as avaudiorecorder,
[recorder record] returns false
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Sound in Simulator stopped working? soulstorm 9 5,461 Nov 22, 2009 04:45 AM
Last Post: _sjc_
  Apps built with new SDK work on old devices? captainfreedom 9 4,241 Nov 5, 2009 06:24 PM
Last Post: captainfreedom
  touches stopped working on device, works in simulator aerospaceman 4 4,483 Jul 29, 2009 05:06 PM
Last Post: aerospaceman
  new sound problem ! (Aspen Simulator) imaumac 1 2,663 Oct 11, 2008 11:08 AM
Last Post: imaumac