Skeletonview: Crash in Hero after 1.8.1

Created on 2 Sep 2019  路  6Comments  路  Source: Juanpe/SkeletonView

鈿狅笍 Please fill out this template when filing an issue.

馃檹馃徏 Please check if it already exists other issue related with yours.:

Nope.

What did you do?

Nothing.

What did you expect to happen?

App not crashing.

What happened instead?

App crashing at a transition initiated by Hero. specifically, when tries to call layoutIfNeeded() on a view that is totally not related to Skeleton view.

Steps to reproduce the behavior

Update SkeletonView to 1.8.1, cross your fingers and try to find a crash related to this.

SkeletonView Environment

SkeletonView version:
1.8.1
Xcode version:
10.3
Swift version:
5

It seems like swizzleLayoutSubviews breaks something critical to other layouting systems.

given up 馃 possible bug

Most helpful comment

Current workaround: Downgrade your pod to 1.8

All 6 comments

Current workaround: Downgrade your pod to 1.8

It does not only crash, but breaks views and collection view from rendering in initial state.
The views are cut off in a half or displayed in random pieces.

Hi @shial4, are you using version 1.8 or 1.8.1. If you are using the version 1.8.1, please downgrade your pod to 1.8 while the bug is fixing.

I have an error when using cocoa pods. When I try to upgrade to 1.8.1 and 1.8 in podfile, this happens.
Captura de Pantalla 2019-09-05 a la(s) 16 11 23

This is my podfile
Captura de Pantalla 2019-09-05 a la(s) 16 13 05

You need to update your local repo. For this execute the command pod repo update

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings