Skip to content

Doctor could check for DEAD_CODE_STRIPPING=NO and warn users of possible build failures #1572

Closed
@mikehardy

Description

@mikehardy

Describe the Feature

Flipper and hermes when enabled on iOS can apparently cause a duplicate symbol problem for current versions in use by react-native.

Not sure what the underlying issue is, if it is fixed, and if it is fixed what version ranges the warning should be restricted to, but the basic test is:

  • scan pbxproj.proj and see if DEAD_CODE_STRIPPING is set to NO, if it is, warn the user of

Possible Implementations

Unsure, not sure if doctor is looking inside iOS projects yet, a simple text scan of the file seems sufficient though

Related Issues

facebook/react-native#32016
This was also noted here facebook/flipper#3117 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions