-
Notifications
You must be signed in to change notification settings - Fork 573
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
folly/folly-config.h file not found #4285
Comments
@hellforever I believe this is due to your Podfile. Currently you do not have to link all your libraries in the Podfile itself, as React Native does this for you. You can remove all lines with I'm also unsure what this section is doing:
If you are trying to fix your project for an M1 Mac, you can use this code block from the aforementioned template:
Let me know if this helps! |
Hi! Same problem here. I tried @takameyer solution but didn't work for me. |
@JaioSkura I removed realm dependency from my libraries in Xcode. Then it works. Realm is also working |
@hellforever great news! I just checked my Xcode project and it doesn't have Realm in the "libraries". Do you remember if you added that manually at some point? |
@hellforever what version of realm were you using when you encountered this error? |
How frequently does the bug occur?
All the time
Description
I tried to build the project on Xcode, but every time I got this issue: folly/folly-config.h file not found. I tried to clear Xcode cache and delete pods directories, but it is the same.
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
rm -rf node_modules/
npm install
cd ios and run pod install
click build on Xcode
Podfile:
Version
10.20.0-beta1
What SDK flavour are you using?
MongoDB Realm (i.e. Sync, auth, functions)
Are you using encryption?
No, not using encryption
Platform OS and version(s)
MacOS iOS
Build environment
Which debugger for React Native: ..
System:
OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 562.37 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.18.3 - ~/.nvm/versions/node/v14.18.3/bin/node
Yarn: Not Found
npm: 6.14.15 - ~/.nvm/versions/node/v14.18.3/bin/npm
Watchman: 2022.01.17.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /Users/fepc-412/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK:
API Levels: 29, 30, 31
Build Tools: 28.0.3, 29.0.1, 29.0.2, 30.0.1, 30.0.2, 30.0.3, 31.0.0
System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-31 | Google APIs ARM 64 v8a, android-31 | Google APIs Intel x86 Atom_64
Android NDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8092744
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_291 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.1 => 0.67.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Cocoapods version
1.10.1
The text was updated successfully, but these errors were encountered: