-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS][Build] Add Headers
and Copy Files
build phases
#665
Conversation
Hi @sergey-akhalkov, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
/cc @BretJohnson |
@sergey-akhalkov @BretJohnson Should this not have a phase to |
hi I've tried to get your modified sources and replace in my project. but the error still there. is it need to do some setup in my project? |
Due to changes in new release of `react-native@0.40.0` there is `CodePush.h file not found` error occures. To fix it I've added `CodePush.h` header file in `Headers` and `Copy Files` build phases and changed `codePushHeaderImportStatement` variable value from `#import "CodePush.h"` to `#import <CodePush/CodePush.h>` in `postlink.js` file. Fix #662
Headers
build phaseHeaders
and Copy Files
build phases
Due to changes in React Native v0.40.0 and changes in CodePush project Step 6. of iOS manual plugin installation (add “Header Search Paths”) is not needed anymore. Also changed path to `CodePush.h` file in `AppDelegate.m` to `#import <CodePush/CodePush.h>`
I test this PR with @Silhouettes, and it works well. |
Due to changes in new release of
react-native@0.40.0
there isCodePush.h file not found
error occures.To fix it I've added
CodePush.h
header file inHeaders
build phase and changedcodePushHeaderImportStatement
variable value from#import "CodePush.h"
to
#import <CodePush/CodePush.h>
inpostlink.js
file.Fix #662