renative
renative copied to clipboard
[tvos] getting stuck on installing app on device
Describe the bug Getting stuck on installing app on device (tested on release/1.0 branch)
To Reproduce
- Go to template-starter package
- Make sure that tvos device is connected
- Do
npx rnv run -p tvos -d
-> device is found but no app is installed
➜ template-starter git:(release/1.0) ✗ npx rnv run -p tvos -d
┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗ ██╗ █████╗ ████████╗██╗██╗ ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗ ██║██╔══██╗╚══██╔══╝██║██║ ██║██╔════╝ │
│ ██████╔╝█████╗ ██╔██╗ ██║███████║ ██║ ██║██║ ██║█████╗ │
│ ██╔══██╗██╔══╝ ██║╚██╗██║██╔══██║ ██║ ██║╚██╗ ██╔╝██╔══╝ │
│ ██║ ██║███████╗██║ ╚████║██║ ██║ ██║ ██║ ╚████╔╝ ███████╗ │
│ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ │
│ 🚀 v:1.0.0-rc.12 | renative.org | 4/4/2024, 11:27:18 AM │
│ $ npx rnv run -p tvos -d │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: engine-rn-tvos (../engine-rn-tvos)
task: ○ run (1x)
task: ○ configure (1x)
task: ○ platform configure (1x)
task: ○ project configure (1x)
task: ○ workspace configure (1x)
task: ✔ workspace configure
task: ○ app configure (1x)
info: Current app config: template
task: ✔ app configure
info: ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
task: ✔ project configure
info: Current Build Scheme: debug
task: ✔ platform configure
info: Found custom assetSources at ../../node_modules/@flexn/assets-renative-outline/assets/tvos. Will be used to generate assets.
info: Skipping pod action. Reason: Podfile.checksum matches current value
task: ✔ configure
✔ Executing: xcrun simctl list --json
info: ✔ Found one device connected! Device name: Apple TV 4K udid: fffe0:89:7e:64:d3:6ffff
task: ○ start (1x)
task: ○ configureSoft (1x)
task: ○ app configure (2x)
info: Current app config: template
task: ✔ app configure
info: Current Build Scheme: debug
task: ✔ configureSoft
Dev server running at: http://0.0.0.0:8085/index.bundle?platform=ios
task: ✔ start
⠴ Waiting for bundler to finish...warn =================================================================================================
warn From React Native 0.73, your project's Metro config should extend '@react-native/metro-config'
warn or it will fail to build. Please copy the template at:
warn https://github.com/facebook/react-native/blob/main/packages/react-native/template/metro.config.js
warn This warning will be removed in future (https://github.com/facebook/metro/issues/1018).
warn =================================================================================================
info Welcome to React Native v0.73
info Starting dev server on port 8085...
▒▒▓▓▓▓▒▒
▒▓▓▓▒▒░░▒▒▓▓▓▒
▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
▒▓▓▓▒░░░░▒▓▓▓▒
▒▒▓▓▓▓▒▒
Welcome to Metro v0.80.5
Fast - Scalable - Integrated
⠧ Waiting for bundler to finish...info React Native v0.73.6 is now available (your project is running on v0.73.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.73.6
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.73.6
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
✔ Waiting for bundler to finish...
✔ Executing: npx react-native run-ios --scheme=RNVApp-tvOS --mode=Debug --no-packager --udid fffe0:89:7e:64:d3:6ffff
┌─────────────────────────────────────────────────────────────────┐
│ ✔ BUNDLER STARTED | 4/4/2024, 11:27:27 AM | [email protected] │
│ $ npx rnv run -p tvos -d │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/[email protected] │
│ Workspace: rnv │
│ Platform (-p): tvos │
│ Engine: engine-rn-tvos │
│ App Config (-c): template │
│ Build Scheme (-s): debug │
│ Target (-t): Apple TV │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, tizenwatch, kaios, chromecast, linux
│ Env Info: darwin | arm64 | node v18.19.0 │
│ Executed Time: 0h:0m:9s:93ms │
│ info: ✔ Found one device connected! Device name: Apple TV 4K udid: fffe0:89:7e:64:d3:6ffff
│ Project location: ./platformBuilds/template_tvos/RNVApp.xcworkspace
└─────────────────────────────────────────────────────────────────┘
Expected behavior app is launched on device
Desktop (please complete the following information):
- OS: macOS Ventura 13.6.4 (M2)
- Node Version 18.19.0
- RNV Version 1.0.0-rc.12
- @rnv/template-starter 1.0.0-rc.12
is working?
Same issue on tvOS 16.5 (20L563) and tvOS 17.4 (21L227)
Tvos device required