iOS build phase failed => The following build commands failed: CompileC ... (in target 'RCT-Folly' from project 'Pods')

This issue has been created since 2022-11-19.

Description

I'm not really sure if this is a bug or what but I cannot figure out how to get out of this situation, I will start by saying that I am on an M1 machine, I've read while searching online that the problem can be shite spaces on the path of the project, but that wasn't the case I've tried also to modify the pod file changing the useFlipper stuff in different ways (I'm not really sure how useFlipper works) I've tried different react native versions and reinstalled Xcode but nothing worked!

my versions:

react-native 0.70.6
ruby 2.7.6 

Version

0.70.6

Output of npx react-native info

System:
OS: macOS 12.6
CPU: (8) arm64 Apple M1
Memory: 219.25 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.0.1 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.2 - /opt/homebrew/bin/npm
Watchman: 2022.11.14.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/christiannonis/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 18.0.2.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

Created the project with npx react-native init xyz and tried both to run firstly npm run ios and also pod install and bundle install

Snack, code example, screenshot, or link to a repository

https://github.com/ChrisCoder9000/AirBnb

snkvch wrote this answer on 2022-11-25

Same issue

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-12-10
Star Count 106395
Watcher Count 3660
Fork Count 22685
Issue Count 2288

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[question] Support for ephemeral deployment of server 8 2022-11-12 2022-11-22
TiFlash crash when open tls 2 2022-09-19 2022-09-28
Concurrency between data sharing and segment compaction may leave some `DMFileReader` can not be removed 2 2022-09-20 2022-09-28
.config/ansible-lint.yml is not loaded automatically when ran from /etc/ansible 2 2022-04-11 2022-11-27
max_line_width only for certain components 1 2021-11-10 2022-11-09
Faded bar on origin of electricity graph 0 2022-08-09 2022-11-25
Optimize dependancies solving with C ecosystem library 3 2022-06-17 2022-11-15
can we collaborate [Feature] 0 2021-09-06 2022-05-15
Field sequence definitions of schema 4 2022-10-12 2022-10-26
JSchema.Load is not resolving references 1 2022-10-16 2022-10-26
Default value for BIT column is escaped as text in table editor 0 2020-05-19 2022-09-12
Support tokenizing single string 0 2021-03-27 2022-11-26
libewf crashes when out-of-memory 7 2022-01-23 2022-12-01
Fractional Brownian Motion 16 2022-05-09 2022-12-03
Cannot update a third party Async API 0 2022-03-18 2022-12-09
I'm not sure if this is a bug 2 2022-05-07 2022-09-24
[RFC] Improve sympy startup times by pre-generating the assumption rules 1 2022-07-28 2022-10-27
Helm Installation Problem 3 2022-02-10 2022-12-05
Updating String search parameters for resource fails if normalized String starts with same letter 0 2022-10-17 2022-10-28
Sign In Problem - "Not allowed to use the browser: Google Chrome (91.x)" error 9 2022-05-25 2022-10-26
make a github repo for the wiki 1 2021-12-05 2022-12-02
Example download gives a 404 3 2021-01-05 2022-11-28
cmd/age-keygen: -y should report error if it fails to parse input 1 2022-07-24 2022-11-15
We have no connectors configured and are getting a warning: "Your organization is out of space to index. You can purchase additional quota" 2 2021-02-12 2022-09-30
Dolt should reuse column on `drop` then `add` 3 2021-11-22 2022-11-10
New errors 1 2021-01-29 2022-01-17
[2.4-rc1] Maximizing a webcam video when the presentation is hidden leads to wrong layout which hides part of the image and the restore button 5 2021-10-01 2022-10-24
Router events triggered unexpectedly when a component is rendered 4 2022-11-02 2022-11-24
[šŸ’”FEATURE REQUEST]: `allow` and `forbid` directives in the new fileserver plugin 4 2021-12-13 2022-11-15
Default values specified in various sizing manifests need to be modified 1 2021-06-23 2022-02-20
Plugin caching_sha2_password could not be loaded 1 2021-05-05 2022-10-16
[Documentation] Code sample for $.util.codec doesn't return anything 1 2021-09-15 2022-11-04
Fix `with` parser inside lists 1 2022-04-27 2022-10-15
Jest test suite failed to run 1 2021-01-01 2022-12-03
www.xxxmaturevideos.com 1 2022-09-17 2022-10-05
www.livehindustan.com 0 2021-10-05 2022-07-07
Kubernetes security: hostPath mounts should be read only 0 2021-09-28 2022-11-15
uwsgi log throws an exception 8 2019-11-23 2022-10-17
compile error when convert aar to dll 1 2022-03-16 2022-10-15
create rule syntax 1 2020-04-15 2022-01-02
Adding comments cause strange string (Chinese character) behavior 1 2022-03-10 2022-12-06
Increase the number of supported studies per workspace 7 2021-09-08 2022-11-06
[BUG] gradle updateSHAs is not working 5 2022-01-04 2022-10-06
Consider shipping compiler source code as a rustup component ("rustc-src"?). 2 2021-12-13 2022-10-06
Slow feature extraction compared to bottom-up-attention 7 2021-04-14 2022-12-09
[SOLVED] patronictl -c /etc/patroni.yml edit-config - Doesn't get applied 1 2021-08-11 2022-12-03
umi v4 register failed, invalid key request from plugin src/app.ts 2 2022-08-17 2022-11-04
Deploy of a Helm chart from AZURE CONTAINER REGISTRY in OCI format is not working 1 2021-06-29 2022-10-16
pkeys are immutable on OpenSSL 3.0 5 2022-11-05 2022-11-28
Microsoft.AspNetCore.Mvc.Testing 6.0.0 has concurrency issues on filesystem 1 2021-12-03 2022-10-10