-
-
Notifications
You must be signed in to change notification settings - Fork 199
Description
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"
Usage:
android [global options] action [action options]
Global options:
-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.
Valid
actions
are
composed
of a verb
and an
optional
direct
object:
- sdk : Displays the SDK Manager window.
- avd : Displays the AVD Manager window.
- list : Lists existing targets or virtual devices.
- list avd : Lists existing Android Virtual Devices.
- list target : Lists existing targets.
- list device : Lists existing devices.
- list sdk : Lists remote SDK repository.
- create avd : Creates a new Android Virtual Device.
- move avd : Moves or renames an Android Virtual Device.
- delete avd : Deletes an Android Virtual Device.
- update avd : Updates an Android Virtual Device to match the folders
of a new SDK. - create project : Creates a new Android project.
- update project : Updates an Android project (must already have an
AndroidManifest.xml). - create test-project : Creates a new Android project for a test package.
- update test-project : Updates the Android project for a test package (must
already have an AndroidManifest.xml). - create lib-project : Creates a new Android library project.
- update lib-project : Updates an Android library project (must already have
an AndroidManifest.xml). - create uitest-project: Creates a new UI test project.
- update adb : Updates adb to support the USB devices declared in the
SDK add-ons. - update sdk : Updates the SDK by suggesting new platforms to install
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