Skip to content

-U and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together [solution: disable bitcode] #6397

@thatonenerd2000

Description

@thatonenerd2000

I am new to React Native. I am trying to build my app on my ios device. It is building fine in the emulator but whenever I try to do it on my ios device I am getting the following error

ld: -U and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It used to build regularly on ios device. It stopped working after I installed firebase to it following the documentation,

https://rnfirebase.io/#3-ios-setup

Screen Shot 2022-07-17 at 3 26 41 PM

Not sure but it might be a flipper issue with static libraries? But really struglling here on this for a few days. I even tried enabling and disabling the bitcode option in build setting and still the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help: needs-triageIssue needs additional investigation/triaging.type: bugNew bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions