rive-app / rive-app/rive-react-native
Build fail on new react-native project
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with npx react-native init AwesomeProject, npm install rive-react-native, pod install, and npx react-native run-ios. Start by inspecting the full Swift compiler diagnostics for the listed files under rive-react-native/ios. Done means a new React Native iOS project builds successfully with the package installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, swift
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100