React-native-code-push: fatal error: 'CodePush.h' file not found

Created on 8 Nov 2016  路  2Comments  路  Source: microsoft/react-native-code-push

  • react-native-code-push version: @1.15.1-beta
  • react-native version: 0.36.0
  • iOS/Android/Windows version: iOS
  • Does this reproduce on a debug build or release build? both
  • Does this reproduce on a simulator, or only on a physical device? both
  • Repro steps and/or stack trace:

build fails

fatal error: 'CodePush.h' file not

      found
#import "CodePush.h"
        ^
1 error generated.

** BUILD FAILED **

(The more info the faster we will be able to address it!)

after,

react-native link react-native-code-push

react-native run-ios

builds fail with this error

fatal error: 'CodePush.h' file not

      found
#import "CodePush.h"
        ^
1 error generated.

** BUILD FAILED **

I don't know why, but react-native link does not perfectly do the linking job. It inserted the code, but didn't do linking. So i have done as mentioned in the manual installation flow.

screen shot 2016-11-08 at 2 52 22 pm

screen shot 2016-11-08 at 2 54 13 pm

but still, having this error

Most helpful comment

@devhyunjae I'm getting this error. How did you resolve it?

All 2 comments

never mind, i added in the test path :(

@devhyunjae I'm getting this error. How did you resolve it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ACCTFORGH picture ACCTFORGH  路  3Comments

EdmundMai picture EdmundMai  路  4Comments

vira-khdr picture vira-khdr  路  3Comments

quanzaiyu picture quanzaiyu  路  3Comments

sergey-akhalkov picture sergey-akhalkov  路  4Comments