Skip to content

Build errors after following instructions #45

@rwest88

Description

@rwest88

...assuming I'm following them correctly. (using react-native 0.60.0)

A) As soon as I:

  1. open ./ios/app.xcodeproj with Xcode,
  2. copy ART.xcodeproj from node_modules/react-native/Libraries/ART/ into Xcode's app/Libraries
  3. select app under TARGETS, tab over to Build Phases > expand Link Binary With Libraries add (+) libART.a

I get a build error when I run react-native run-ios. (See below)

other steps taken:

B) When I then:

  1. run npm install react-native-barcode-builder --save

C) When I then use any order/combination of

  1. react-native link
  2. cd ios && pod install

I get the same build errors every step of the way:

`In file included from ./node_modules/react-native/Libraries/ART/ViewManagers/ARTSurfaceViewManager.m:8:

./node_modules/react-native/Libraries/ART/ViewManagers/ARTSurfaceViewManager.h:8:9: fatal error: 'React/RCTViewManager.h' file not found
#import <React/RCTViewManager.h>`

I'm not sure where to begin with this. Any help would be greatly appreciated!!

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