Skip to content

Cannot build react-native project with Xcode 9 server #16850

@Rojuinex

Description

@Rojuinex

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

yes

Environment

Environment:
OS: macOS High Sierra 10.13.1
Node: 9.2.0
Yarn: Not Found
npm: 5.5.1
Watchman: Not Found
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: ^16.1.1 => 16.1.1
react-native: github:facebook/react-native#master => 1000.0.0

Steps to Reproduce

  1. Create a new project with react-native init
  2. Open the project in Xcode and verify that it will build locally.
  3. Setup a build bot on an Xcode server for the project and manually start an integration.

Expected Behavior

The project will build the same as it did locally.

Actual Behavior

The project fails with the following:

    AppDelegate.m:12:9: fatal error: 'React/RCTBundleURLProvider.h' file not found
    #import <React/RCTBundleURLProvider.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reproducible Demo

Any vanilla project created with react-native init will do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSiOS applications.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions