Debugging Ionic Applications When Deployed to an iOS Device


Download

In this video tutorial, we take a look at how to debug an iOS application built with Ionic whilst it is running on a device.

Blog post: https://www.joshmorony.com/debugging-ionic-applications-when-deployed-to-an-ios-device/

Learn Ionic: https://www.joshmorony.com/building-mobile-apps-with-ionic-2/ .

Download

source

Have any Question or Comment?

10 comments on “Debugging Ionic Applications When Deployed to an iOS Device

I have a question: What would I need to do when my app doesn't show up in the device inside the development section of safari? Basically I've generated an IPA from my source code using ionic cordova build ionic –debug –device –buildConfig build.json… After that I installed the IPA on the device, I've connected it through USB cable. The device shows up in the developer window in safari but whenever I launch the app and try to select it through the developer window it doesn't simply show up. Do I need to use a different method of starting up the app inside my iOS phone? I've already enabled the web inspector in the safari settings of the iphone…. I'm completely lost, nothing seems to be working… Do I have to run the app on the device using ionic cli or something in order to get this to work???

Reply

Ionic 3 debugging is not working in my ios device, when i try to debug it shows only .js files, how to enable .ts files to debug, i tried above tutorial also but that's not working

Reply

There is one prereq needed to get that working. Go to your iPhone's Settings and in Safari -> Advanced enable the Web Inspector. Otherwise you see nothing.

Reply

Do you have a link for the Reflective emulator? BTW: You can put USB connected iphone on screen by using quicktime, and starting recording. Then within quicktime, by the red record button you can select your mobile device

Reply

This is great! I have a suggestion for follow up on debugging Ionic apps. I'd like a good tutorial on debugging Ionic apps (on devices if possible) using the debugging tools in Visual Studio Code. I think a lot of us use Visual Studio code. And if the tools are different in Visual Studio Pro 2017, one on that too. Thanks for all your hard work. I love your book to.

Reply

thats a great help…
I am getting "no target found to deploy" error while running "ionic cordova run ios –livereload" command after connecting the iphone to the macbook. I assume this could reload the app as the code changes. Do I need to setup any settings to facilitate that. please help. and again thanks for the tutorial

Reply

Hi Joshua, is it possible to debug the emulator? like we are doing in this tutorial? we use MacInCloud for IOS build and we don't have MAC 🙁

Reply

Friend, you have a tutor about login, authentication, mysql ?

Reply

hi joshua..
can u help me in my side menu..ionic 2 app…
if user not logged in then show login button in side menu.
and if user logged in then my profile,logout button…
thankz

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *