Skip to content

Xcode project fails to build #38

@DavidPotter

Description

@DavidPotter

When I attempt to build the Xcode project generated by this tool using Xcode 8.3.3, I get the following error in the .m file:

fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^

Here are the steps I followed:

  1. react-native-create-library --prefix '' --package-identifier com.tableau --platforms ios,android Foo
  2. yarn remove react-native --peer
  3. yarn add react-native
  4. yarn add react@16.0.0-alpha.12
  5. Create a new workspace in the ios directory.
  6. Add the Xcode project to the workspace.
  7. Update the project from the warning.
  8. Build in Xcode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions