-
Notifications
You must be signed in to change notification settings - Fork 24k
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 Fail After upgrading from 0.57.8 to 0.58.1 #23166
Comments
ShareBefore upgrade to 0.58.1 (My RN: 0.57.7)
After linked
I can run perfect now, in /ReactCommon/ folder still missing /privatedata/. 😢 |
👋 there we are currently trying to improve on the upgrading experience because the tool that you used (and linked in the docs) is sort-of been unmaintained for a while. I know it's not ideal and we are working on this 💪 Can you, in the meantime, try to do the same procedure but instead using this repo as source for the diff (the git apply step)? https://github.com/pvinis/rn-diff-purge |
Getting this error as well... |
Ok, I think i found the solution. When i searched for files those include "PrivateDataBase.h" they all were under the /RNApp/ios/build folder. I think they are precompiled files for faster further builds and i guess they are safe to delete because build/ folder included in .gitignore file provided by react native. Solution: Clear under /RNApp/ios/build/ folder and re-run |
Thank you, just solved it for me as well :) |
Ok, ty @GoktuqCan for the solution - closing. |
I am also having this issue after Here are my "cleaning" steps (which did not fix the problem):
I am reverting back to 0.57.8 for now. I'll try to get back on 0.58.x at some point using a different upgrade path! |
Hi @toblerpwn i didn't use the
Hope this helps you. |
@GoktuqCan I re-upgraded using I think the missing step for me was to actually open Xcode and clean the build folder using the Xcode menu (although I used I did also actually run the build from Xcode, too (prior to this I was only building RELEASE using |
For anyone who's still searching for a solution after trying all those above. I resolved doing this: |
If remove the folder So just remove the folder then That's what I try. Hope it can helps others |
I'm getting this same error building with Xcode and running react-native 0.57.8 |
I was having the same error
Hope this helps |
It works for me. Thanks! |
I upgraded from 0.57.8 to 0.58.0, these steps allow me to build from Xcode, but still cannot build from the command line |
I was having issues in iOS after upgrading from I was able to fix it by blowing out the After that, I now boil it down to some caching/lock problem stemming from breaking changes in RN 0.57 to -0.59 caused by React Native baking in JSC. If you are having issues upgrading to around Here is a rough checklist to get your mind flowing:
If you discover your issues sound similar to mine and you learned about anything I didn't describe, feel free to include a comment and describe a bit about how it relates to JSC and what you did to fix it. This will help others in the future that find this thread while Googling. |
worked perfectly Thanksss!!! <3 |
Environment
Description
I started project with version v0.57.8
I followed instruction here for upgrading to v0.58.1: https://facebook.github.io/react-native/docs/upgrading#upgrade-based-on-git
After upgrading, Android app wasn't responding to touches but after deleting and re-installing node_modules, plus --reset-cache it's solved.
But on iOS build i still get this error(both on run-ios and Xcode):
Reproducible Demo
The text was updated successfully, but these errors were encountered: