Skip to content

iOS build fails with Undefined symbols #2613

Open
@csillaj

Description

Description

Hi, after updating react native to 0.76.6 I ran into multiple errors

Undefined symbol: facebook::react::RNSVGUseProps::RNSVGUseProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGUseProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSScreenProps::RNSScreenProps(facebook::react::PropsParserContext const&, facebook::react::RNSScreenProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGDefsProps::RNSVGDefsProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGDefsProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGLineProps::RNSVGLineProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGLineProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGMaskProps::RNSVGMaskProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGMaskProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGPathProps::RNSVGPathProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGPathProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGRectProps::RNSVGRectProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGRectProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGTextProps::RNSVGTextProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGTextProps const&, facebook::react::RawProps const&)

Undefined symbol: facebook::react::RNSVGImageProps::RNSVGImageProps(facebook::react::PropsParserContext const&, facebook::react::RNSVGImageProps const&, facebook::react::RawProps const&)

etc.

Steps to reproduce

  1. update to react native 0.76
  2. try building app in xcode

Snack or a link to a repository

can't share my repo because it's private

SVG version

15.11.1

React Native version

0.76.6

Platforms

iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Assignees

No one assigned

    Labels

    Missing infoThe user didn't precise the problem enoughMissing reproThis issue need minimum repro scenario

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions