title: "Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral" issue while installing react native on macOS Big Sur
body: <p>I was trying to install React Native on my system, and found that it failed to install CocoaPods dependencies which is required by that template error.</p>
  <p><code>sudo arch -x86_64 gem install ffi</code> fixed this issue but ended up with <code>event-config.h&quot; file not found</code> error.</p>
  <p>I changed the changed the flipper version in pod file to <code>use_flipper!({'Flipper'=&gt;'0.76.0'})</code> and then I reached to the error mentioned above. Any help on this issue would be appreciated.</p>
  <pre><code>node version : 15.10.0
  react-native version: 0.63.4
  Xcode version: 12.4
  </code></pre>
  <p>Error description below:</p>
  <pre><code>Showing Recent Messages
  
  Could not find or use auto-linked library 'swiftCoreGraphics'
  Could not find or use auto-linked library 'swiftUIKit'
  Could not find or use auto-linked library 'swiftDarwin'
  Could not find or use auto-linked library 'swiftFoundation'
  Could not find or use auto-linked library 'swiftMetal'
  Could not find or use auto-linked library 'swiftObjectiveC'
  Could not find or use auto-linked library 'swiftCoreFoundation'
  Could not find or use auto-linked library 'swiftDispatch'
  Could not find or use auto-linked library 'swiftCoreImage'
  Could not find or use auto-linked library 'swiftQuartzCore'
  Could not find or use auto-linked library 'swiftCore'
  Could not find or use auto-linked library 'swiftSwiftOnoneSupport'
  Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral
  Undefined symbol: associated type descriptor for Swift.ExpressibleByIntegerLiteral.IntegerLiteralType
  
  Undefined symbol: associated conformance descriptor for Swift.ExpressibleByIntegerLiteral.Swift.ExpressibleByIntegerLiteral.IntegerLiteralType: Swift._ExpressibleByBuiltinIntegerLiteral
  
  Undefined symbol: method descriptor for Swift.ExpressibleByFloatLiteral.init(floatLiteral: A.FloatLiteralType) -&gt; A
  
  Undefined symbol: protocol descriptor for Swift.ExpressibleByIntegerLiteral
  Undefined symbol: value witness table for Builtin.Int32
  Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreImage
  Undefined symbol: associated type descriptor for Swift.ExpressibleByFloatLiteral.FloatLiteralType
  Undefined symbol: __swift_FORCE_LOAD_$_swiftQuartzCore
  Undefined symbol: __swift_FORCE_LOAD_$_swiftDispatch
  Undefined symbol: method descriptor for Swift.ExpressibleByIntegerLiteral.init(integerLiteral: A.IntegerLiteralType) -&gt; A
  Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreFoundation
  Undefined symbol: protocol witness table for Swift.Int : Swift._ExpressibleByBuiltinIntegerLiteral in Swift
  Undefined symbol: __swift_FORCE_LOAD_$_swiftObjectiveC
  Undefined symbol: __swift_FORCE_LOAD_$_swiftCoreGraphics
  Undefined symbol: _swift_getForeignTypeMetadata
  Undefined symbol: __swift_FORCE_LOAD_$_swiftFoundation
  Undefined symbol: associated conformance descriptor for Swift.ExpressibleByFloatLiteral.Swift.ExpressibleByFloatLiteral.FloatLiteralType: Swift._ExpressibleByBuiltinFloatLiteral
  Undefined symbol: __swift_FORCE_LOAD_$_swiftUIKit
  Undefined symbol: __swift_FORCE_LOAD_$_swiftMetal
  Undefined symbol: Swift.Float.init(Swift.Double) -&gt; Swift.Float
  Undefined symbol: __swift_FORCE_LOAD_$_swiftDarwin
  Undefined symbol: protocol witness table for Swift.Float : Swift._ExpressibleByBuiltinFloatLiteral in Swift
  </code></pre>