Hello
I encountered an error after updating the new version nativescript cli.
CONSOLE WARN file:///app/tns_modules/nativescript-image-zoom/image-zoom.js:100:14: Objective-C class name "UIScrollViewDelegateImpl" is already in use - using "UIScrollViewDelegateImpl1" instead.
-[PHAsset _isResizable]: unrecognized selector sent to instance 0x14dba5de0
***** Fatal JavaScript exception - application has been terminated. *****
Native stack trace:
1 0x101b19194 NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool, bool)
2 0x101b4d8ec -[TNSRuntimeInspector reportFatalError:]
3 0x100c561d8
4 0x1becd0234
5 0x1bde9de3c
6 0x1bde910fc
7 0x1bde90a40
8 0x1bde9db84
9 0x1bebe7154
10 0x1becd5810
11 0x1becd74bc _CF_forwarding_prep_0
12 0x1eb8fac78
13 0x1eb8f8c04
14 0x1eb8f3e10
15 0x1025a4044 ffi_call_SYSV
16 0x1025a18dc ffi_call_int
17 0x1025a13a0 ffi_call
18 0x101ae14e4 NativeScript::FFICall::call(JSC::ExecState*)
19 0x102598484 vmEntryToNative
20 0x102398a14 JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
21 0x101bb721c JSC::callSetter(JSC::ExecState*, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::ECMAMode)
22 0x101c3acb8 JSC::JSObject::putInlineSlow(JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&)
23 0x102438d84 llint_slow_path_put_by_id
24 0x10259b7f4 llint_entry
25 0x10259f8a4 llint_entry
26 0x10259f83c llint_entry
27 0x10259f83c llint_entry
28 0x10259f83c llint_entry
29 0x10259f83c llint_entry
30 0x10259f83c llint_entry
31 0x10259f8a4 llint_entry
JavaScript stack trace:
1 setImage@file:///app/tns_modules/nativescript-image-zoom/image-zoom.js:64:24
2 @file:///app/tns_modules/nativescript-image-zoom/image-zoom.js:64:24
3 applyAllNativeSetters@file:///app/tns_modules/tns-core-modules/ui/core/properties/properties.js:960:28
4 initNativeView@file:///app/tns_modules/tns-core-modules/ui/core/properties/properties.js:904:30
5 onResumeNativeUpdates@file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:626:36
6 _resumeNativeUpdates@file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:272:39
7 onLoaded@file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:231:34
8 @file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:311:98
9 callFunctionWithSuper@file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:304:13
10 callLoaded@file:///app/tns_modules/tns-core-modules/ui/core/view-base/view-base.js:311:35
11 loadView@file:///app/tns_modules/tns-core-modules/ui/core/view-bas<\M-b\M^@\M-&>
JavaScript error:
file:///app/tns_modules/nativescript-image-zoom/image-zoom.js:64:24: JS ERROR Error: -[PHAsset _isResizable]: unrecognized selector sent to instance 0x14dba5de0
Which platform(s) does your issue occur on?
- iOS
- iOS versions 12.0
- emulator or device. device
Please, provide the following version numbers that your issue occurs with:
plugins
{
"description": "NativeScript Application",
"license": "SEE LICENSE IN ",
"readme": "NativeScript Application",
"repository": "",
"nativescript": {
"id": "org.nativescript.DosageApp",
"tns-ios": {
"version": "5.1.0"
}
},
"scripts": {
"lint": "tslint "app/**/*.ts""
},
"dependencies": {
"@angular/animations": "~6.0.6",
"@angular/common": "~6.0.6",
"@angular/compiler": "~6.0.6",
"@angular/core": "~6.0.6",
"@angular/forms": "~6.0.6",
"@angular/http": "~6.0.6",
"@angular/platform-browser": "~6.0.6",
"@angular/platform-browser-dynamic": "~6.0.6",
"@angular/router": "~6.0.6",
"nativescript-angular": "~6.0.6",
"nativescript-camera": "^4.0.2",
"nativescript-google-maps-sdk": "^2.6.1",
"nativescript-image-zoom": "^3.0.2",
"nativescript-imagepicker": "^6.0.4",
"nativescript-iqkeyboardmanager": "^1.3.0",
"nativescript-localstorage": "^2.0.0",
"nativescript-ng-shadow": "^2.1.0",
"nativescript-photo-zoom": "^1.0.1",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-listview": "^3.6.1",
"reflect-metadata": "~0.1.10",
"rxjs": "~6.1.0",
"tns-core-modules": "^5.1.1",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.7.0-rc.0",
"@angular/compiler-cli": "~6.1.0-beta.1",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"codelyzer": "~4.3.0",
"lazy": "1.0.11",
"nativescript-dev-sass": "^1.6.0",
"nativescript-dev-typescript": "^0.7.4",
"nativescript-dev-webpack": "~0.14.0",
"tslint": "~5.10.0",
"typescript": "~2.7.2"
}
}