Skip to content

Few latest release versions(2.15.0, 2.16.0, 2.16.1, 2.16.2) causing iOS build crash, version 2.14.1 is fine #2927

Closed
@badeggg

Description

@badeggg

Description

When I update react-native-gesture-handler version, iOS build crashes. 2.14.1 --> 2.15.0/2.16.0/2.16.1/2.16.2
After a little digging, the causing line is here. Since I noticed that when I change this line back to

        auto shadowNode = arguments[0].asObject(runtime).getHostObject<ShadowNodeWrapper>(runtime)->shadowNode;

which is identical in version 2.14.1 here, iOS builds ok.

Crash report view:
image

Crash report file:
c1.txt

Steps to reproduce

  1. Clone https://github.com/Expensify/App, I am on 2a7d5d497ebec61171c7033ff85cdd0731d710c5 which is main branch status for now
  2. Upgrade react-native-gesture-handler version to version 2.16.2
  3. Follow steps to start iOS app
  4. You will notice build crash

Snack or a link to a repository

https://github.com/badeggg/expensify-app

Gesture Handler version

2.16.2

React Native version

0.73.4

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSThis issue is specific to iOSRepro providedA reproduction with a snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions