Ion on Iphone debugging best practice

2 posts, 0 answers
  1. Mauro
    Mauro avatar
    10 posts
    Member since:
    Nov 2011

    Posted 12 Mar 2013 Link to this post

    I developed an app that works fine on simulator and android tablet and phone. However i have big problems on get it work on ion (in a iphone 5.0). What is the best practice for debugging an application in such an environment?

    Best regards
  2. Yavor Georgiev
    Yavor Georgiev avatar
    982 posts

    Posted 12 Mar 2013 Link to this post

    Hello Mauro,

     There isn't much we can do to implement debugging in Ion. Right now your best bet is to sprinkle your JS code with console.log calls and these will show up in the device's tab in the Output pane in Graphite. Alternatively, you can view Ion's output in the device console in iPhone Configuration Utility.

     Or, if you're part of Apple's iOS Developer Program, you can use Graphite to build and deploy your app on an iOS 6 device (not in Ion, but an actual app) and use the iOS 6 Remote Web Inspector in Graphite to debug your app.

     It could be possible that the file paths you use in your app do not match the correct case. The filesystem in iOS is case-sensitive, whereas the Android filesystem and the Simulator are not. We recently heard about such a problem.

    All the best,
    Yavor Georgiev
    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
Back to Top