Skip to content

Instantly share code, notes, and snippets.

@vchimev
Created August 19, 2015 11:40
Show Gist options
  • Save vchimev/31d3fe6ba028ff5ca57b to your computer and use it in GitHub Desktop.
Save vchimev/31d3fe6ba028ff5ca57b to your computer and use it in GitHub Desktop.
platform-update-ios-log-trace
vchimevmac:platformApp vchimev$ tns platform update ios --log trace
Exec uname -a
stdout: Darwin vchimevmac.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 2.13.4
stderr:
spawn: java -version
Exec ant -version
stdout: Apache Ant(TM) version 1.9.4 compiled on April 29 2014
stderr:
Exec node-gyp -v
stdout:
stderr: /bin/sh: node-gyp: command not found
Exec xcodebuild -version
stdout: Xcode 6.3.1
Build version 6D1002
stderr:
Exec adb version
stdout: Android Debug Bridge version 1.0.32
stderr:
Exec android -h
stdout:
Usage:
android [global options] action [action options]
Global options:
-s --silent : Silent mode, shows errors only.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-h --help : Help on a specific command.
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.
stderr:
Exec mono --version
stdout:
stderr: /bin/sh: mono: command not found
System information:
{ procInfo: 'nativescript/1.2.3',
platform: 'darwin',
os: 'Darwin vchimevmac.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64\n',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v0.12.2',
npmVer: '2.13.4',
javaVer: '1.8.0',
antVer: 'Apache Ant(TM) version 1.9.4 compiled on April 29 2014',
nodeGypVer: null,
xcodeVer: 'Xcode 6.3.1\nBuild version 6D1002\n',
itunesInstalled: true,
adbVer: 'Android Debug Bridge version 1.0.32',
androidInstalled: true,
monoVer: null }
Initializing analytics statuses.
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'platform'.
BeforeHookName for command platform-update is before-platform-update
AfterHookName for command platform-update is after-platform-update
Looking for project in '/Work/release/platformApp'
Project directory is '/Work/release/platformApp'.
spawn: adb version
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'platform|update'.
BeforeHookName for command platform|update is before-platform
AfterHookName for command platform|update is after-platform
Using version 1.2.2.
ENOENT, open '/Users/vchimev/.npm/tns-ios/1.2.2/package/framework/__PROJECT_NAME__.xcodeproj/project.pbxproj'
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'help'.
List of registered commands: /?, autocomplete, autocomplete|disable, autocomplete|enable, autocomplete|status, build, build|android, build|ios, create, debug, debug|android, debug|ios, deploy, device, device|android, device|get-file, device|ios, device|list-applications, device|list-files, device|log, device|put-file, device|run, device|stop, device|uninstall, doctor, emulate, emulate|android, emulate|ios, error-reporting, help, init, install, library, library|add, livesync, platform, platform|*list, platform|add, platform|remove, platform|update, plugin, plugin|add, plugin|remove, prepare, run, run|android, run|ios, usage-reporting
Reading help for command 'platform|update'. FileName is 'platform-update.md'.
# platform update
┌──────────────────────────┬─────────────────────────────────────────┐
│ Usage │ Synopsis │
│ Android latest runtime │ $ tns platform update android │
│ Android selected runtime │ $ tns platform update android@<Version> │
│ iOS latest runtime │ $ tns platform update ios │
│ iOS selected runtime │ $ tns platform update ios@<Version> │
└──────────────────────────┴─────────────────────────────────────────┘
Updates the NativeScript runtime for the specified platform. You must specify the target platform that you want to update.
### Attributes
* <Platform> is the target mobile platform whose runtime you want to update. You can set the following target platforms.
* android - Updates the Android runtime.
* ios - Updates the iOS runtime.
* <Version> is any available version of the respective platform runtime published in npm.
vchimevmac:platformApp vchimev$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment