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