From 618d643fa3e8f8ae414ebb7b081b49bb2628dfd7 Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Fri, 30 Aug 2019 15:00:51 +0300 Subject: [PATCH] fix: list of apps is not working for iOS Devices The installation_proxy that is used to list the applications on iOS Devices stops responding after 10-15 seconds and from now on CLI thinks the current application is not installed on device. This breaks `tns debug ios`, probably `tns run ios` as well. Update to latest ios-device-lib where the installation_proxy is never cached. --- npm-shrinkwrap.json | 49 +++++++++++++++++++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 36 insertions(+), 17 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index f8ee065a88..0d415c3112 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -2633,7 +2633,8 @@ }, "ansi-regex": { "version": "2.1.1", - "bundled": true + "bundled": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -2651,11 +2652,13 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true + "bundled": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -2668,15 +2671,18 @@ }, "code-point-at": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true + "bundled": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true + "bundled": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -2779,7 +2785,8 @@ }, "inherits": { "version": "2.0.3", - "bundled": true + "bundled": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -2789,6 +2796,7 @@ "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -2801,17 +2809,20 @@ "minimatch": { "version": "3.0.4", "bundled": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } }, "minimist": { "version": "0.0.8", - "bundled": true + "bundled": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -2828,6 +2839,7 @@ "mkdirp": { "version": "0.5.1", "bundled": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -2900,7 +2912,8 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true + "bundled": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -2910,6 +2923,7 @@ "once": { "version": "1.4.0", "bundled": true, + "optional": true, "requires": { "wrappy": "1" } @@ -2985,7 +2999,8 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true + "bundled": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -3015,6 +3030,7 @@ "string-width": { "version": "1.0.2", "bundled": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -3032,6 +3048,7 @@ "strip-ansi": { "version": "3.0.1", "bundled": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -3070,11 +3087,13 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true + "bundled": true, + "optional": true }, "yallist": { "version": "3.0.3", - "bundled": true + "bundled": true, + "optional": true } } }, @@ -4018,9 +4037,9 @@ "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" }, "ios-device-lib": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/ios-device-lib/-/ios-device-lib-0.7.1.tgz", - "integrity": "sha512-ytn+2Wg2hznXvsL87n1Y0E9tpPlCgljtgyfbaQ0qvV98Ob/2WaezTtY4QO1wdFn9yt8j0qJuCl39Zjuaf4YOZQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/ios-device-lib/-/ios-device-lib-0.7.2.tgz", + "integrity": "sha512-7elReKXpeVMy7f5F+sIYzMpm087mHWtdwj5tHwSp9j6RJH0ffhkUd+aSC9DnTAEfyqf1l6z0iM2Tx5qFeMkMxA==", "requires": { "bufferpack": "0.0.6", "node-uuid": "1.4.7" @@ -8497,4 +8516,4 @@ "integrity": "sha512-99p+ohUBZ2Es0AXrw/tpazMcJ0/acpdQXr0UPrVWF0p7i8XiOYvjiXTdwXUVCTPopBGCSDtWBzOoYNPtF3z/8w==" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index fdc6880ee4..d764ac87f0 100644 --- a/package.json +++ b/package.json @@ -46,11 +46,12 @@ "glob": "7.1.3", "iconv-lite": "0.4.11", "inquirer": "6.2.0", - "ios-device-lib": "0.7.1", + "ios-device-lib": "0.7.2", "ios-mobileprovision-finder": "1.0.11", "ios-sim-portable": "4.0.9", "istextorbinary": "2.2.1", "jimp": "0.2.28", + "libnpmconfig": "1.2.1", "lodash": "4.17.11", "log4js": "4.1.0", "marked": "0.5.1", @@ -61,7 +62,6 @@ "nativescript-dev-xcode": "0.2.0", "nativescript-doctor": "1.11.1", "nativescript-preview-sdk": "0.3.4", - "libnpmconfig": "1.2.1", "open": "0.0.5", "ora": "2.0.0", "osenv": "0.1.3",