Skip to content

Fails to compile: RCTFabricUIManagerWrapper.h is included when using Cocoapods [0.55.x regression] #18741

@almostintuitive

Description

@almostintuitive

The file RCTFabricUIManagerWrapper.h is included included when using Cocoapods (the local "React" pod). RCTFabricUIManagerWrapper.h does not compile: it throws an error that folly-config.h is not found.

The app builds fine with react-native 0.54.x.

The root cause of the problem is that this specific file is unintentionally included among the compiled files. According to @fkgozali 's comment on #17764

Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 9.10.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.1 => 0.55.1

Steps to Reproduce

  1. Create a new Xcode project
  2. Follow the guide how to integrate react-native into an existing project
  3. Run the app

Expected Behavior

The app builds without an error.

Actual Behavior

The app does not compile

Metadata

Metadata

Assignees

No one assigned

    Labels

    Impact: RegressionDescribes a behavior that used to work on a prior release, but stopped working recently.Resolution: FixedA PR that fixes this issue has been merged.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions