PhoneGap "Hello World" app stuck on "Connecting to device"
Asked Answered
N

1

7

Background Info & Problem

I downloaded the PhoneGap Desktop App for OSX, following the instructions here: http://docs.phonegap.com/getting-started/1-install-phonegap/desktop/

I installed the PhoneGap app for iOS.

I've ensured both my laptop and iPhone are on the same network (no firewall).

I created a new "Hello World" project, using the PhoneGap Desktop App.

I was able to run the application via the desktop app– and then successfully connected to the web server, using the iOS app.

However, it appears the deviceready function is not firing-- the "Hello World" app is stuck in a perpetual state of Connecting to device. It never says Device is ready.

Additional notes...

I've tried solving this issue by following the guidance from this post: Cordova app hanging during startup on iOS 10 (beta)

If I tap the home button on my iPhone, and then re-enter the PhoneGap app, it says Device is ready.

I'm running OSX 10.10 and iOS 10.0.1.

Any help would be greatly appreciated!

Nifty answered 31/10, 2016 at 2:40 Comment(3)
I have the exact same issue going on now, did you happen to figure it out?Seyler
I have exactly the same problem. The phonegap skeleton app gets stuck on 'connecting to device'... Did you solve the problem? thanks in advance for sharing the solution.Tomikotomkiel
This solution solved for my case.Tomikotomkiel
S
1

in the terminal type in "sudo npm install ios-sim -g" References: https://disqus.com/home/discussion/jetbrains/using_phonegapcordova/

Seyler answered 3/5, 2017 at 23:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.