I have built an iOS app with Cordova and I'm trying to debug it with my Mac. I have followed this tutorial, but when I go to Develop -> iPhone xxx
there is no apps able to be debugged.
I have built the app using Intel XDK tool. Is there a way to enable debugging in my iOS app?
Thanks.
EDIT
I have tried to debug my app with GapDebug but it doesn't recognize my app as debuggable.
I have created my app with a production/distribution certificate, not with development one. Maybe, can it be the reason why I can't debug my app?
Every Application you create with cordova is compiled with an activated Debugmode. If it is not, you're able to change this via https://stackoverflow.com/a/12499274/3671726
Instead of debugging your Application with Safari, i would recommend you to install Google Chrome and GapDebug in combination. Go on that website, check out that video - you'll love that tool. Is very impressive, how and how smart gapDebug handles your debugging.
Solved
Like he found out on himself, he compiled the application with the wrong certificate. So be sure to use a provisioning profile which includes a development certificate and not a distribution certificate.
I was using a distribution/production certificate to sign my app, so I couldn't debug it. I have created a new provisioning profile with a development certificate and now it is working like a charm.
I'm using GapDebug like said Sithys. It is a good tool, thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With