Template fails with "could not locate Gemfile"
Closed this issue · 1 comments
douglowder commented
Description
When running...
react-native init TestApp --template=react-native-template-typescript-tv
it errors out with Could not locate Gemfile
Version
9.2.1
Output of npx react-native info
npx react-native info
errors with
error: unknown command 'info'
(Did you mean init?)
Steps to reproduce
Run the following when you already have the cocoapods gem installed.
react-native init TestApp --template=react-native-template-typescript-tv
Snack, code example, screenshot, or link to a repository
No response
douglowder commented
I created a new branch from the upstream release/0.69.0
branch, and copied over only the minimal changes needed for the TV template:
- iOS and Android directories
package.json
dependency onreact-native-tvos
instead ofreact-native
- Add
tvos-types
import toApp.tsx
Successfully created a new app with the published template version 6.11.9-0, and verified that both Android TV and Apple TV apps build and run.