nativescript-keyframes icon indicating copy to clipboard operation
nativescript-keyframes copied to clipboard

Demo app crashes

Open dbenninger opened this issue 8 years ago • 0 comments

The demo app crashes with error message 'Ensure layer has > 0 size'.

All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬──────────────────┐
│ Component        │ Current version │ Latest version │ Information      │
│ nativescript     │ 3.1.3           │ 3.1.3          │ Up to date       │
│ tns-core-modules │ 2.5.3           │ 3.1.1          │ Update available │
│ tns-android      │ 2.4.1           │ 3.1.1          │ Update available │
│ tns-ios          │ 2.4.0           │ 3.1.0          │ Update available │
└──────────────────┴─────────────────┴────────────────┴──────────────────┘

Full log:

Successfully synced application org.nativescript.demo on device F6F00A49-BC50-445B-A571-FB957878A56E.
*** Assertion failure in -[KFVectorLayer setFaceModel:], /Users/davidbenninger/Downloads/nativescript-keyframes-master/demo/platforms/ios/Pods/keyframes/ios/keyframes/src/Layers/KFVectorLayer.m:39
*** JavaScript call stack:
	(
		0   setFaceModel@[native code]
		1   onLoaded@file:///app/tns_modules/nativescript-keyframes/keyframes.js:22:22
		2   eachChild@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:748:31
		3   _eachChildView@file:///app/tns_modules/tns-core-modules/ui/layouts/layout-base-common.js:144:30
		4   _loadEachChildView@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:751:32
		5   onLoaded@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:741:32
		6   eachChild@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:748:31
		7   _eachChildView@file:///app/tns_modules/tns-core-modules/ui/content-view/content-view.js:65:21
		8   _eachChildView@file:///app/tns_modules/tns-core-modules/ui/page/page-common.js:317:45
		9   _loadEachChildView@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:751:32
		10  onLoaded@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:741:32
		11  onLoaded@file:///app/tns_modules/tns-core-modules/ui/page/page-common.js:63:39
		12  onLoaded@file:///app/tns_modules/tns-core-modules/ui/page/page.js:264:43
		13  _addViewCore@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:1173:26
		14  _addViewCore@file:///app/tns_modules/tns-core-modules/ui/core/view.js:51:43
		15  _addView@file:///app/tns_modules/tns-core-modules/ui/core/view-common.js:1163:26
		16  viewWillAppear@file:///app/tns_modules/tns-core-modules/ui/page/page.js:142:31
		17  UIApplicationMain@[native code]
		18  start@file:///app/tns_modules/tns-core-modules/application/application.js:251:26
		19  anonymous@file:///app/app.js:4:18
		20  evaluate@[native code]
		21  moduleEvaluation@:1:11
		22  @:7:50
		23  promiseReactionJob@:1:11
	)
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Ensure layer has > 0 size.'
	*** First throw call stack:
	(
		0   CoreFoundation                      0x03ae7494 __exceptionPreprocess + 180
		1   libobjc.A.dylib                     0x035a1e02 objc_exception_throw + 50
		2   CoreFoundation                      0x03ae732a +[NSException raise:format:arguments:] + 138
		3   Foundation                          0x013ea322 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 118
		4   keyframes                           0x00480bd4 -[KFVectorLayer setFaceModel:] + 708
		5   NativeScript                        0x00cf5688 ffi_call_i386 + 24
	)

dbenninger avatar Aug 14 '17 15:08 dbenninger