-
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
Staging build: 'CodePush/CodePush.h' file not found #688
Comments
@Amurmurmur, I've got the same issue and resolved it like this: |
@sergey-akhalkov Yep that worked!! Thank you so much. Cheeers |
@Amurmurmur, thanks for the response. I've reproduced and fixed the issue in the same way without using CodePush. So initial react-native app (created by |
Closing this, please feel free to reopen if needed |
@almadsen That didnt work for me :/ Only the solution suggested by @sergey-akhalkov did work. :/ |
After RN 0.40 it is not possible to use other configurations than Debug and Release (facebook/react-native#11813) As workaround we could make Staging’s Build Products Path value the same as for Release configuration. Fix #688
Hi @sergey-akhalkov I'm having this issue but I don't think I have any 'multi deployment testing' setup, it's just when I go to run the release scheme. i've tried all solutions i.e manually importing codepush.h, adding the library from scratch etc. I'm running react native 0.40.0 and react-native-code-push 1.16.1-beta. The weird thing was it was working fine and I'd created a build and submitted it to the app store, but then I changed a google services.plist file and suddenly the build broke... I've tried restarting computer etc etc... Also in your solution above I can't actually find the 'Build Locations' settings anywhere, I'm using xcode 8.2 EDIT: Sorry was using wrong version, needed 1.17.1-beta |
I have a similar error but now with a POD. The trick with I tried to make some change on the PODS_CONFIGURATION_BUILD_DIR with the value Someone as a solution when we use a POD ? |
@neopit not working with Pods on staging.. tried a lot |
Try to add Staging configuration to CodePush and React projects... works for me |
This issue is persisting for me when I try to build on Buddy Build or MMC App Center. anyone else encounter this? |
@sergey-akhalkov Thanks man it works |
I can't find "Build Location -> Per-configuration Build Products Path". Any idea ? |
this issue still exist |
Followed instructions exactly, for multi deployment (https://github.com/Microsoft/react-native-code-push#ios)
Problem only happens when trying to build Staging.
AppDelegate.m:11:9: 'CodePush/CodePush.h' file not found
The text was updated successfully, but these errors were encountered: