- This topic has 16 replies, 4 voices, and was last updated 9 years, 1 month ago by support-vadim.
-
AuthorPosts
-
twosouthParticipantI have an iPad air running iOS 8.0.2.
My app has been built with a developer provisioning profile and is using Sencha Touch 2.01 and Cordova 3.6.3
My version of Chrome is Version 38.0.2125.111
the app shows as installed in the Devices & Apps list
When I start the app, the app takes off but nothing happens on the debugger. It’s as if the debugger doesn’t actually see the app once it starts.
I’ve read through the docs for the past while and I can’t see where I’ve missed an instruction.
Any ideas?
I would love to get this to work.
Thanks!
Scott
support-michaelKeymasterHi Scott,
1) does your device appear in the GapDebug UI?
2) if yes, did you install the app on your ipad air using GapDebug?
3) if yes, after the app is started please try unplugging and replugging in your device’s usb connection (bounce the connection). Did anything change?
4) What OS are your running (mavricks, yosemite ?)?
4a) if you have yosemite, did you have gapdebug installed when upgrading to yosemite?
– I’m curious if an upgrade could have goofed up something.5) if all of the above appear legit please send us your log file. It can be found at <user home>\.gapdebug\runtime\.metadata\.log file these dot prefixed dirs and files may be hidden on your mac. You may have to enable viewing hidden files like these.
twosouthParticipantHi Michael,
Thanks for your response.
1) does your device appear in the GapDebug UI? Yes it does appear in the GUI
2) if yes, did you install the app on your ipad air using GapDebug?Yes I did
3) if yes, after the app is started please try unplugging and replugging in your device’s usb connection (bounce the connection). Did anything change?If I unplug the connection, the device and the app disappear, when I plug it back in, on the devie is there, not the app.
4) What OS are your running (mavricks, yosemite ?)? Mavericks
4a) if you have yosemite, did you have gapdebug installed when upgrading to yosemite?
– I’m curious if an upgrade could have goofed up something.5) if all of the above appear legit please send us your log file. It can be found at <user home>\.gapdebug\runtime\.metadata\.log file these dot prefixed dirs and files may be hidden on your mac. You may have to enable viewing hidden files like these.I can send the log file. See below for a link
Here is a link to a zip file containing a screenshot and the aforementioned .log file http://tinyurl.com/oy35zv8
support-michaelKeymasterScott,
I reviewed this topic with our gapdebug developers. The first thought is that your app is not being signed with a developer cert and profile. When you have a few mins you can check this by:
1) in the GapDebug UI open the Settings and enable the “Debug browser pages” setting (see screenshot below)
2) connect your ios device
3) launch safari to any web page
4) launch your app
– you should be able to see both the safari web page(s)
– you should also see your app listed under the connected ios device if it is signed with a dev cert/profileSee attachment gdsetting.png
See attachment testiosapp.pngAttachments:
You must be logged in to view attached files.
twosouthParticipantThanks a ton! That was part of the problem (which I discovered this weekend).
Also I was looking for the app icon on the dock of my mac but found it on the top bar.
It’s working and is a great tool!!
Thanks for all of your help!
Scott
support-michaelKeymaster>It’s working and is a great tool!!
sweet! Please help us spread the word about gapdebug (e.g., tweet @GapDebug). We have more cool features in development that we will share details soon.
MalakSadikParticipantim facing almost the same problem @support-michael wrote:
Hi
1) does your device appear in the GapDebug UI? yes
2) if yes, did you install the app on your ipad air using GapDebug? cannot install
4) What OS are your running (mavricks, yosemite ?)? windows 8
5) if all of the above appear legit please send us your log file. It can be found at <user home>\.gapdebug\runtime\.metadata\.log file these dot prefixed dirs and files may be hidden on your mac. You may have to enable viewing hidden files like these.
this is the last few line
!ENTRY com.genuitec.powderhorn.eclipse.deviceconnector 1 0 2015-02-26 02:26:55.415 !MESSAGE onDeviceAdded Cute Angel’s iPhone6 {19} !ENTRY com.genuitec.powderhorn.eclipse.deviceconnector 1 0 2015-02-26 03:11:12.987 !MESSAGE onWebUIClosed !ENTRY com.genuitec.powderhorn.eclipse.deviceconnector 1 0 2015-02-26 03:11:15.312 !MESSAGE curVer: 15.1.1 prevVer: 15.1.1 !ENTRY com.genuitec.powderhorn.eclipse.deviceconnector 1 0 2015-02-26 03:11:15.313 !MESSAGE onWebUIOpened
ps. I cant see safari on gapdebug UI while I checked web browsing from the settings
support-michaelKeymaster@angelsprincess1
Is Safari webkit inspector setting enabled?
This is required to remotely debug Safari webapps in addition to hybrid apps.
MalakSadikParticipantYes from my iphone i turned on web inspector. Any thing else i need to do? This only heppens on my new iphone 6. I already added the device and updated the provisioning profiles and even created new ones. The build was successful but the app is not installed through gapdebug!
support-michaelKeymaster@angelsprincess1
One thought is that possibly you failed to approve the “Trust this device…” dialog that appears when you first connect your ios device via usb cable to machine with GapDebug running. This dialog is a security measure that you should occasionally see. The dialog will only appears for about 1 minute and will then close automatically. So you have to be watching for it.
Try: disconnect your device, stop and then start GapDebug, reconnect your device. Watch on the device for a dialog asking if you trust the connection and answer yes.Another thing to try is using itunes for installing your device. Doing this will allow you to isolate the problem to either a GapDebug issue or an issue with you app.
MalakSadikParticipantThe first time i connected the iphone, i chose to trust the device. The iphone appears on itunes and i already installed the app on my old iphone5 without any problem.
MalakSadikParticipantAny other suggestions?
support-michaelKeymasterI reread your previous info.
To confirm you are trying to debug safari web pages, not a cordova/phonegap app, right?
If yes, then do then enable this setting in GapDebug as shown below.
1) click Settings in device panel
2) enable Debug browser pages
3) click the Device & Apps
4) connect your iphone and open safari to webpage
See attachment enable-webbrowser-debugging.pngAttachments:
You must be logged in to view attached files.
MalakSadikParticipantActually I’m trying to install an app built using myeclipse phonegap build. I can see the iphone in gapdebug UI but neither the app is installed nor Safari is shown for debugging.
P.s I already enabled debug browser pages
support-michaelKeymaster@angelsprincess1
Here is my thought and action process if I were able to hold your machine in my hand and attempting to debug an ios cordova/phonegap app:
0) I reviewed your earlier posts and can get some of this info but I would rather start over from scratch. Please share exact details of the device you attempting to install on. Is it an iphone 6, 6 plus, 5, 5s, 4s,…, ipad1,2 3, air, air2?
Include the exact version of iOS on the device.1) you mentioned that you are able to view the ios device in the GapDebug panel. This is good. The GapDebug device connector is working properly.
2) next on the ios device verify that you have enabled “webkit inspector” setting on the Settings>Safari>Advanced page. This setting is required for GapDebug to be able to view your app or any safari web page.
3) Now you should be able to install your app. Either use the file browser or drag-n-drop your ios app on the ios device you wish to install the app on. In the GapDebug device panel you should see the install process startup and some progress info presented.
If you get an error take a screenshot and post it.
The most common reason for an ios app to fail to install is that it was built with the wrong provision profile.
For remote debugging to be enabled your ios app must be built with a developer provision profile. And this profile MUST include the device’s UDID. Most often this is where developers mess up.4) If #3 app installation fails then try using iTunes to install the app.
You will need to give this a go to take GapDebug out of the loop. If the app installs via itunes then there is a GapDebug error; otherwise the error resides with the app.
If you are unfamiliar with using itunes for app installation see the 1st answer on this thread http://stackoverflow.com/questions/26720764/install-ipa-with-itunes-12 -
AuthorPosts