Build fail on new react-native project
Create a new project with
npx react-native init AwesomeProject
Then install rive-react-native
npm install rive-react-native
# set ios deployment version target to 14.0
cd ios && pod install
Then run
npx react-native run-ios
The build fail with : The following build commands failed: CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RCTLog.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RiveReactNativeView.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RiveReactNativeViewManager.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RNAlignment.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RNDirection.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RNFit.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RNLoopMode.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/RNRiveError.swift CompileSwift normal x86_64 /Users/felix/Desktop/ReactNativeCli/node_modules/rive-react-native/ios/utility.swift (10 failures)