mozilla/valence

WebIDE+Valence doesn't see Xcode iOS Simulator

ffxsam opened this issue · 6 comments

I've followed all the instructions here:
https://developer.mozilla.org/en-US/docs/Tools/Valence

But I'm unable to debug on the iOS simulator. Instead I get this:

firefox_webide

past commented

I just verified that it still works for me. Can you let me know what version is your OS X, Firefox and the Valence add-on? Also, any error messages in the Browser Console (Cmd-Shift-J)?

OS 10.10.4, Firefox 39, Valence 0.3.1.

Errors:

"Operation failed: Connecting to Safari, Firefox, and other WebViews on iOS: Error: No iOS device found" webide.js:346:5
UI.reportError() webide.js:346
UI.busyUntil/<() webide.js:327
Handler.prototype.process() Promise-backend.js:870
this.PromiseWalker.walkerLoop() Promise-backend.js:746
this.PromiseWalker.scheduleWalkerLoop/<()

Error: No iOS device found
Stack trace:
iOSProxy.start<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:100:13
TaskImpl_run@resource://gre/modules/Task.jsm:314:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:867:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:746:7
this.PromiseWalker.scheduleWalkerLoop/<@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:688:37

iOS Simulator is running (but not Xcode. Not sure if that's needed).

I'm having the exact same issue, I'm running OSX 10.11.2, iOS simulator 9.2, Firefox 46.0a2 and Valence 0.3.4.
Here's my log:

La operación ha fallado: Connecting to Safari, Firefox, and other WebViews on iOS: Error: No iOS device found webide.js:354:5

10:37:04.773 Error: No iOS device found
Traza de la pila:
iOSProxy.start<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:100:13
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:710:7
TaskImpl_run@resource://gre/modules/Task.jsm:320:13
promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:391:7
TaskImpl_run@resource://gre/modules/Task.jsm:323:13
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.checkIfBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:153:12
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.waitUntilBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:158:25
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:710:7
TaskImpl_run@resource://gre/modules/Task.jsm:320:13
promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:391:7
TaskImpl_run@resource://gre/modules/Task.jsm:323:13
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.checkIfBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:153:12
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.waitUntilBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:158:25
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:710:7
TaskImpl_run@resource://gre/modules/Task.jsm:320:13
promise callback*TaskImpl_handleResultValue@resource://gre/modules/Task.jsm:391:7
TaskImpl_run@resource://gre/modules/Task.jsm:323:13
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.checkIfBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:153:12
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
TaskImpl@resource://gre/modules/Task.jsm:276:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:250:14
iOSProxy.waitUntilBound<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://fxdevtools-adapters-at-mozilla-dot-org/lib/util/ios-proxy.js:158:25
TaskImpl_run@resource://gre/modules/Task.jsm:315:40
Handler.prototype.process@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:933:23
this.PromiseWalker.walkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:812:7
Promise*this.PromiseWalker.scheduleWalkerLoop@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:743:11
this.PromiseWalker.schedulePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:775:7
this.PromiseWalker.completePromise@resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:710:7
TaskImpl_run@resource://gre/modules/Task.jsm:320:13

@zomars, do you have a tab open in Safari on the simulator before connecting?

Yes I do. Anything else can I do to help debugging this?

@zomars, inside the iOS Simulator, is Settings -> Safari -> Advanced -> Web Inspector enabled?