-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CodePush doesn't build - missing libCodePush.a in /Products path at build time #1236
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Tail end of build output from my CI: ... |
The issue seems to be caused by the way that react-native link connected the library. It resulted in a duplicate entry for file |
@octodriver where did you remove the duplicate entry from? I'm stuck with the same error now. Thanks! |
@octodriver we are waiting for you response |
in the end, i still end up getting the duplicate inside the Libraries/CodePush.xcodeproj, that was not the issue. What ended up fixing my problem was:
My RN version = 0.55.2
Important note: you have to have target = 9.0 as shown above |
I have the same problem, removed duplicates from file {projectname}.xcodeproj |
@sobiso thanks I removed duplicates and also worked ! |
Same here, had duplicate errors as well as missing libCodePush.a after clearing DerivedData.
Worked like a charm for us. |
I just remove tvOS in codepush project. |
I fixed it this way: -Click on the project target => Link Binary with Libraries |
Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):
Steps to Reproduce
Expected Behavior
App can build
Actual Behavior
App build fails
In Debug mode
In Release mode
Reproducible Demo
Examples
folder runnode create-app.js appName react-native@0.47.1 react-native-code-push@5.0.0-beta
command to generate plain CodePushified React Native app. Please see description on top ofcreate-app.js
file content if neededEnvironment
(The more info the faster we will be able to address it!)
An extra fact to help: In Debug mode, it only fails the FIRST time. When I run build again, it always works the second time.
The text was updated successfully, but these errors were encountered: