-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal hangs if tns device is run and there is an untrusted iPhone connected #1328
Comments
This should be fixed in latest master branch. I'm setting it to ready for test. |
Still not fixed in 1.6.0. |
I got the same message (Unable to stop session. Result is: 3892314142), I even had to reboot my computer before it was ok, {N} 1.6.2, tns-ios 1.6.0. |
Still reproduced in version 2.0.1 |
Cannot reproduce with latest code from master. Console will not hang and XCode will just report that cannot find any architecture. |
So, if you have an iPhone connected to your Mac, but the Trust button is still not tapped and you run tns device command, the Terminal hangs completely, and you should close it kind of forcefully.
Instead, it will be great if the Terminal can say that there is untrusted iPhone, or at least say that there is no iPhone, but allow you to continue your work in the Terminal window.
Here is the log of that scenario:
execFile: /usr/local/Cellar/android-sdk/24.3.2/platform-tools/adb "help"
spawn: /usr/local/Cellar/android-sdk/24.3.2/tools/android "--help"
-h --help : Help on a specific command.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-s --silent : Silent mode, shows errors only.
of a new SDK.
AndroidManifest.xml).
already have an AndroidManifest.xml).
an AndroidManifest.xml).
SDK add-ons.
if available.
Exec uname -a
stdout: Darwin diyanovmac.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.11.3
stderr:
spawn: java "-version"
Exec node-gyp -v
stdout:
stderr: /bin/sh: node-gyp: command not found
Exec xcodebuild -version
stdout: Xcode 7.1
Build version 7B91b
stderr:
Exec pod --version
stdout: 0.39.0
stderr:
Exec '/usr/local/Cellar/android-sdk/24.3.2/platform-tools/adb' version
stdout: Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android
stderr:
spawn: /usr/local/Cellar/android-sdk/24.3.2/tools/android "-h"
Exec mono --version
stdout: Mono JIT compiler version 4.0.4 ((detached/d481017 Mon Sep 28 17:32:19 EDT 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-(detached/a173357)
GC: sgen
stderr:
Exec git --version
stdout: git version 1.8.4
stderr:
Exec gradle -v
stdout:
Gradle 2.7
Build time: 2015-09-14 07:26:16 UTC
Build number: none
Revision: c41505168da69fb0650f4e31c9e01b50ffc97893
Groovy: 2.3.10
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_71 (Oracle Corporation 24.71-b01)
OS: Mac OS X 10.10.5 x86_64
stderr:
Exec "javac" -version
stdout:
stderr: javac 1.7.0_71
System information:
{ procInfo: 'nativescript/1.5.1',
platform: 'darwin',
os: 'Darwin diyanovmac.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64\n',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v0.12.7',
npmVer: '2.11.3',
javaVer: '1.7.0',
nodeGypVer: null,
xcodeVer: 'Xcode 7.1\nBuild version 7B91b\n',
itunesInstalled: true,
cocoapodVer: '0.39.0',
adbVer: 'Android Debug Bridge version 1.0.32',
androidInstalled: true,
monoVer: '4.0.4',
gitVer: '1.8.4',
gradleVer: '2.7',
javacVersion: '1.7.0_71' }
Initializing analytics statuses.
Analytics statuses:
{ TrackFeatureUsage: 0, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'device'.
AnalyticsInstallationID: dec7f90a-1750-4b18-a220-28f0bfb9a318
monitor not started
monitor not started
monitor has started, connecting to http://5752dabccfc54c4ab82aea9626b7338e.monitor-eqatec.com/json.ashx
execFile: /usr/local/Cellar/android-sdk/24.3.2/platform-tools/adb "help"
spawn: /usr/local/Cellar/android-sdk/24.3.2/platform-tools/adb "start-server"
Analytics statuses:
{ TrackFeatureUsage: 0, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'device|*list'.
startLookingForDevices; platform is undefined
The text was updated successfully, but these errors were encountered: