title: M1 Mac react-native iOS build error (in target 'RCT-Folly' from project 'Pods')
body: <p>On an M1 Mac, with <code>npm 8.3.1</code> &amp; <code>node 17.4</code>, when I run <code>npx react-native run-ios</code> I receive 2 errors:</p>
  <pre><code>The following build commands failed:
      CompileC /Users/Steven/Library/Developer/Xcode/DerivedData/HelloSteve-hghgfcwemhoaiacfwlophutqqzbh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/Steven/Documents/Projects/React\ Native/HelloSteve/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')
      CompileC /Users/Steven/Library/Developer/Xcode/DerivedData/HelloSteve-hghgfcwemhoaiacfwlophutqqzbh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/NetOps.o /Users/Steven/Documents/Projects/React\ Native/HelloSteve/ios/Pods/RCT-Folly/folly/net/NetOps.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods')
  (2 failures)
  </code></pre>
  <p>From <a href="https://stackoverflow.com/a/69920332/667903">this answer</a>, the line <code>flipper_post_install(installer)</code> didn't exist in the Podfile.</p>
  <p>From <a href="https://github.com/react-native-community/upgrade-support/issues/155#issuecomment-1027704724" rel="nofollow noreferrer">this answer</a>, I commented out <code># use_flipper!()</code> in the Podfile, ran <code>pod install</code> then <code>npx react-native run-ios</code> and received a similar error:</p>
  <pre><code>The following build commands failed:
          CompileC /Users/Steven/Library/Developer/Xcode/DerivedData/HelloSteve-hghgfcwemhoaiacfwlophutqqzbh/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/arm64/SysUio.o /Users/Steven/Documents/Projects/React\ Native/HelloSteve/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')
  (1 failure)
  </code></pre>
  <p>I tried the <a href="https://github.com/facebook/folly/issues/1670#issuecomment-946249692" rel="nofollow noreferrer">solution here</a>, (commenting out the line <code>typedef uint8_t clockid_t;</code> in <a href="https://github.com/facebook/folly/blob/main/folly/portability/Time.h#L52" rel="nofollow noreferrer">Time.h</a>) but that didn't work either.</p>
  <p>Help appreciated.</p>