Build failed CompileSwiftSources normal x86_64

Description

I am trying to start up a react native ios app from terminal with: npx react-native run-ios --configuration Debug --scheme Development

I then get the error: ** BUILD FAILED ** The following build commands failed: CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler MergeSwiftModule normal x86_64 /Users/Library/Developer/Xcode/DerivedData/frnjcdnxmbqgcnhkwpisddivymns/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/lottie-react-native.build/Objects-normal/x86_64/lottie_react_native.swiftmodule (2 failures)

I expect the Xcode simulator to startup and run the ios app but the build fails.

npm: '6.14.11', ares: '1.16.1', brotli: '1.0.9', cldr: '37.0', icu: '67.1', llhttp: '2.1.3', modules: '83', napi: '7', nghttp2: '1.41.0', node: '14.16.0', openssl: '1.1.1j', tz: '2020a', unicode: '13.0', uv: '1.40.0', v8: '8.4.371.19-node.18', zlib: '1.2.11'

lottie-ios: '3.1.8', lottie-react-native: '3.5.0'

react-native: '0.64.2'

Xcode: '12.5'

Macbook pro 2019 2.3Ghz 8-Core Intel Core i9 macOS Big Sur v11.4

did u manage to solve this, getting the same build error

Hi, did somebody found a solution to this issue? I'm facing the same issue...

This is my system:

MacBook Pro (13-inch, Mid 2012), 2,9 GHz Dual-Core Intel Core i7, macOS Catalina 10.15.7

XCode Version 12.2 (12B45b)

❯ npx nx report

NX Report complete - copy this into the issue template

Node : 19.5.0 OS : darwin x64 yarn : 1.22.19

nx : 15.0.1 @nrwl/angular : Not Found @nrwl/cypress : 15.0.1 @nrwl/detox : 15.0.1 @nrwl/devkit : 15.0.1 @nrwl/esbuild : Not Found @nrwl/eslint-plugin-nx : 15.0.1 @nrwl/expo : Not Found @nrwl/express : Not Found @nrwl/jest : 15.0.1 @nrwl/js : 15.0.1 @nrwl/linter : 15.0.1 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/nx-cloud : Not Found @nrwl/nx-plugin : Not Found @nrwl/react : 15.0.1 @nrwl/react-native : 15.0.1 @nrwl/rollup : 15.0.1 @nrwl/schematics : Not Found @nrwl/storybook : 15.0.1 @nrwl/web : 15.0.1 @nrwl/webpack : 15.0.1 @nrwl/workspace : 15.0.1

typescript : 4.8.4
Local workspace plugins:
---------------------------------------
Community plugins:
Build failed CompileSwiftSources normal x86_64
 
 
Q