Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livesync crash with UIKitCore error when running iOS emulator #1114

Open
NickIliev opened this issue Apr 1, 2019 · 1 comment
Open

Livesync crash with UIKitCore error when running iOS emulator #1114

NickIliev opened this issue Apr 1, 2019 · 1 comment

Comments

@NickIliev
Copy link

@NickIliev commented on Mon Apr 01 2019

@isawk commented on Mon Apr 01 2019

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.3.0

  • Cross-platform modules: 5.3.1

  • Android Runtime:5.3.0

  • iOS Runtime:5.3.0

  • Plugin(s):

    "nativescript-3dtouch": "^1.2.2",
    "nativescript-angular": "^7.2.3",
    "nativescript-camera": "^4.4.0",
    "nativescript-fingerprint-auth": "^6.2.0",
    "nativescript-localstorage": "^2.0.0",
    "nativescript-plugin-firebase": "^8.1.1",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-vibrate": "^2.1.3",

Describe the bug
after running tns run ios --emulator any changes thereafter appears to crash and reloading needs to be executed manually by closing emulated/virtual application and reloading it.

Occurs after updating Nativescript and plugins 5.3.0. See crash report below

To Reproduce
tns run ios --emulator

Expected behavior
Reload after changes shouldn't crash.

Sample project

Additional context

CONSOLE LOG file:///app/tns_modules/@angular/core/bundles/core.umd.js:15747:24: Angular is running in the development mode. Call enableProdMode() to enable the production mode.
(UIKitCore) [com.apple.UIKit:Animation] +[UIView setAnimationsEnabled:] being called from a background thread. Performing any operation from a background thread on UIView or a subclass is not supported and may result in unexpected and insidious behavior. trace=(
0   UIKitCore                           0x0000000107ea5146 kFixedAnimationDuration_block_invoke_5 + 125
1   libdispatch.dylib                   0x0000000106a8454b _dispatch_client_callout + 8
2   libdispatch.dylib                   0x0000000106a85d52 _dispatch_once_callout + 20
3   UIKitCore                           0x0000000107ea50c7 +[UIView(Animation) setAnimationsEnabled:] + 76
4   UIKitCore                           0x0000000107ea522f +[UIView(Animation) performWithoutAnimation:] + 84
5   UIKitCore                           0x00000001070fdb83 -[UIVisualEffectView _updateSubviews] + 325
6   UIKitCore                           0x00000001070fe9e8 -[UIVisualEffectView _configureAllEffects] + 1436
7   UIKitCore                           0x00000001070fce22 -[UIVisualEffectView setBackgroundEffects:] + 396
8   UIKitCore                           0x00000001071071b8 -[_UIBarBackground updateBackground] + 229
9   UIKitCore                           0x0000000107107467 -[_UIBarBackground transitionBackgroundViews] + 208
10  UIKitCore                           0x000000010719170c -[_UINavigationBarVisualProviderModernIOS _updateBackgrounds] + 851
11  UIKitCore                           0x000000010719194e -[_UINavigationBarVisualProviderModernIOS layoutSubviews] + 272
12  UIKitCore                           0x0000000107146691 -[UINavigationBar layoutSubviews] + 256
13  UIKitCore                           0x0000000107eb3795 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
14  UIKitCore                           0x00000001071463e8 -[UINavigationBar layoutSublayersOfLayer:] + 248
15  QuartzCore                          0x000000010425bb19 -[CALayer layoutSublayers] + 175
16  QuartzCore                          0x00000001042609d3 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 395
17  UIKitCore                           0x0000000107e9e077 -[UIView(Hierarchy) layoutBelowIfNeeded] + 1429
18  UIKitCore                           0x00000001072f7d87 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 800
19  UIKitCore                           0x00000001072f8024 -[UINavigationController _positionNavigationBarHidden:edge:] + 388
20  UIKitCore                           0x00000001072f76d7 -[UINavigationController setNavigationBar:] + 1430
21  UIKitCore                           0x00000001072f7010 -[UINavigationController _navigationBarHiddenByDefault:] + 145
22  UIKitCore                           0x00000001072ff4f1 -[UINavigationController loadView] + 176
23  UIKitCore                           0x00000001073aa0ee -[UIViewController loadViewIfRequired] + 175
24  UIKitCore                           0x00000001073aa940 -[UIViewController view] + 27
25  NativeScript                        0x000000010200843d ffi_call_unix64 + 85
26  ???                                 0x0000000131999b50 0x0 + 5127117648
@mbektchiev
Copy link
Contributor

@isawk Thank you for finding and reporting this issue. The fix will be released later today in version [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants