PDA

View Full Version : Ho to debug a native app on iphone?



jwbworks
20 Nov 2012, 8:46 AM
Hello,

I have built my native app using command line. The mobile web version loads up in mobile safari and chrome with out issue. However when I package the app and load it on the iphone and android I just get a blank screen. I know the issue is probably something incorrectly coded, however how do I track this down. I want to tackle the iphone first.

I have xcode installed and can view the console for the phone but not seeing anything useful.only seeing <Warning>: 0.000000

any suggestions on programs and steps to tackle this?

thanks

Jeff

digeridoo
20 Nov 2012, 9:28 AM
Have you tried iWebinspector?

http://www.iwebinspector.com/

(http://www.iwebinspector.com/)Or have you tried reading this blog post?

http://robertdougan.com/posts/how-to-debug-sencha-touch-2-applications-part-1

:-)

jwbworks
20 Nov 2012, 9:49 AM
Thanks for your response. This is a native app not a web app. I already have xcode but it only shows the device console which does not show any js errors only what the OS is seeing.

digeridoo
20 Nov 2012, 3:50 PM
Oh I was under the impression that it could:

The tool simply attaches the Web Inspector to any tab opened in Safari for iOS, to a chrome-less web app (full screen) or to a PhoneGap application.
Requirements: Mac OS 10.6+, Xcode 4.2 with iOS 5 SDK
Website:http://www.iwebinspector.com/

(http://www.iwebinspector.com/)Could you not attach it to the iOS simulator and run it through that?