Skip to content

Undefined symbols for architecture armv7 : YGConfig #22882

@roots-ai

Description

@roots-ai

I have tried every possible solution listed here.
https://stackoverflow.com/questions/6429494/undefined-symbols-for-architecture-armv7

Getting the below error while building a React Native 0.57.5 iOS app.

    Undefined symbols for architecture armv7:
      "YGConfig::YGConfig(int (*)(YGConfig*, YGNode*, YGLogLevel, char const*, void*))", referenced from:
          _YGConfigNew in libyoga.a(Yoga.o)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please help me resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.Type: QuestionIssues that are actually questions and not bug reports.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions