I am using Mac M1, trying to run React Native on IOS Simulator and I got this error:
CompileC /Users/jack/Library/Developer/Xcode/DerivedData/sample-gnrhtdrpdsucuifckqcsppcsfdbn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/jack/React\ Native/sample/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
Any solution to solve this?
Ensure that your project path doesn't have any spaces within it. I have a M1 Pro and it worked!
Solution link: https://github.com/facebook/folly/issues/1670
I had the same issue. What I did is, check the project folder path and then realised space contain in one folder.
Blockquote
Ex: User/My Project/ABC need to change into User/MyProject/ABC
My recommendation is solution 2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With