Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tvOS:AppHarness) Initial commit to fix the install #1643

Merged
merged 15 commits into from
Sep 12, 2024

Conversation

RicardasN
Copy link
Collaborator

@RicardasN RicardasN commented Aug 2, 2024

Description

The problem right now is that the overrides are applied on the package's node_modules, which is definitely suboptimal...
Another problem is that after installation the app does not get launched as it should, you need to press on it manually with a remote, but it does now install and connect to the metro bundler started by renative

Related issues

Npm releases

n/a

@ElenaDiachenko ElenaDiachenko self-assigned this Aug 12, 2024
@Marius456 Marius456 added the e2e label Aug 13, 2024
@Marius456 Marius456 added this to the 1.1 milestone Aug 14, 2024
@pauliusguzas pauliusguzas linked an issue Aug 19, 2024 that may be closed by this pull request
Copy link
Collaborator Author

@RicardasN RicardasN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Tested with a device, after last commit (deviceManager refactor) it seem that device is not getting detected and therefore app does not get installed

@pauliusguzas
Copy link
Collaborator

When installing to device, process is stuck at this step

✔ Waiting for bundler to finish...
⠸ info Installing and launching your app on Apple_TV

@RicardasN
Copy link
Collaborator Author

When installing to device, process is stuck at this step

✔ Waiting for bundler to finish...
⠸ info Installing and launching your app on Apple_TV

Screenshot 2024-08-20 at 16 47 12
For me it is installed (if gone back one commit), but requires to open manually as the app is only installed and not launched.

Info:

  • Node 18.18.2
  • Xcode 15.4
  • Device tvOS version 17.5.1
  • macOS version 14.5

@pauliusguzas
Copy link
Collaborator

iOS device installing, seems like it is looking for what is in ~/.rnv/renative.json despite having put -d flag

pauliusguzas@MBP-de-Flexn app-harness % npx rnv run -p ios -d

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.0.0 | renative.org | 8/20/2024, 4:59:57 PM               │
│ $ rnv run -p ios -d                                             │
└─────────────────────────────────────────────────────────────────┘
info: Current platform: ios
info: Current engine: @rnv/engine-rn (../engine-rn)
task: ○ run ↺1
info: Current platform: ios
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
info: Current app config: harness
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]
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ../../node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-photo-editor overriden by: /@rnv/config-templates/pluginTemplates/react-native-photo-editor/overrides
task: ✔ project configure
info: Current Build Scheme: debug
task: ✔ platform configure
info: Found custom assetSources at ../../node_modules/@flexn/assets-renative-outline/assets/ios. Will be used to generate assets.
? Podfile and/or plugins versions have changed Continue with pod action (recomme
nded)
✔ Executing: bundle install
✔ Executing: bundle exec pod install
task: ✔ configure
warn: ○ run: Could not find device iPhone 15
? Select the device you want to launch on (Use arrow keys)
? Select the device you want to launch on Paulius’s iPhone | Phone 📱 | v: 17.3
(21D50) | udid: 00008030-001C18C62EF9802E (device)
info: Current platform: ios
task: ○ start ↺1
task: ○ configureSoft ↺1
task: ○ app configure ↺2
task: ✔ app configure
info: Current Build Scheme: debug
task: ✔ configureSoft

Dev server running at: http://0.0.0.0:8092/index.bundle?platform=ios

task: ✔ start
⠋ Waiting for bundler to finish...warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
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
⠙ Waiting for bundler to finish...info Starting dev server on port 8092...

                        ▒▒▓▓▓▓▒▒
                     ▒▓▓▓▒▒░░▒▒▓▓▓▒
                  ▒▓▓▓▓░░░▒▒▒▒░░░▓▓▓▓▒
                 ▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓
                 ▓▓░░░░░▒▓▓▓▓▓▓▒░░░░░▓▓
                 ▓▓░░▓▓▒░░░▒▒░░░▒▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▒▒▒▒▓▓▓▓▒░░▓▓
                 ▓▓░░▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░▓▓
                 ▓▓▒░░▒▒▓▓▓▓▓▓▓▓▒░░░▒▓▓
                  ▒▓▓▓▒░░░▒▓▓▒░░░▒▓▓▓▒
                     ▒▓▓▓▒░░░░▒▓▓▓▒
                        ▒▒▓▓▓▓▒▒


                Welcome to Metro v0.80.9
              Fast - Scalable - Integrated


⠼ Waiting for bundler to finish...info React Native v0.75.2 is now available (your project is running on v0.73.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.75.2
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.75.2
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
warning: Watchman `watch-project` returned a warning: Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `watch-project` returned a warning: Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

warning: Watchman `query` returned a warning: Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

⠹ Waiting for bundler to finish...Recrawled this watch 1 times, most recently because:
MustScanSubDirs UserDroppedTo resolve, please review the information on
https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
To clear this warning, run:
`watchman watch-del '/Users/pauliusguzas/Desktop/renative/renative' ; watchman watch-project '/Users/pauliusguzas/Desktop/renative/renative'`

✔ Waiting for bundler to finish...
✔ Executing: npx react-native run-ios --scheme=RNVApp --mode=Debug --no-packager --udid 00008030-001C18C62EF9802E
┌─────────────────────────────────────────────────────────────────┐
│ ⚠ BUNDLER STARTED | 8/20/2024, 5:00:49 PM | [email protected]           │
│ $ rnv run -p ios -d                                             │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/[email protected]                                 │
│ Workspace: rnv                                                  │
│ Platform (-p): ios                                              │
│ Engine: @rnv/engine-rn                                          │
│ Template: @rnv/template-starter                                 │
│ App Config (-c): harness                                        │
│ Build Scheme (-s): debug                                        │
│ Target (-t): iPhone 15                                          │
│ Supported Platforms: ios, android, androidtv, firetv, androidwear, web, tizen, tvos, webos, macos, tizenwatch, kaios, chromecast, linux, windows
│ Env Info: darwin | x64 | node v18.18.0                          │
│ Executed Time: 0h:0m:52s:249ms                                  │
│ warn: ○ run: Could not find device iPhone 15
│ Project location: ./platformBuilds/harness_ios/RNVApp.xcworkspace
└─────────────────────────────────────────────────────────────────┘

Comment on lines +264 to +267
`xcrun devicectl device install app -d ${udid} ${path.join(
appPath,
`build/RNVApp/Build/Products/${runScheme}-appletvos/RNVApp-tvOS.app`
)}`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
);

return executeAsync(
`xcrun devicectl device process launch --device ${udid} --activate ${getAppId()?.toLowerCase()}`

Check warning

Code scanning / CodeQL

Unsafe shell command constructed from library input Medium

This string concatenation which depends on
library input
is later used in a
shell command
.
@ElenaDiachenko ElenaDiachenko modified the milestones: 1.1, 1.2 Sep 4, 2024
@ElenaDiachenko ElenaDiachenko marked this pull request as ready for review September 5, 2024 05:03
Copy link
Collaborator

@GabrieleKaceviciute GabrieleKaceviciute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app is installed but not launched on device (connected via USB)

➜  template-starter git:(fix/tvos-install-on-device) npx rnv run -p tvos -d

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.0.0 | renative.org | 9/5/2024, 4:09:10 PM                │
│ $ rnv run -p tvos -d                                            │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-tvos (../engine-rn-tvos)
task: ○ run ↺1
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
info: Current app config: template
task: ✔ app configure
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
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]
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]
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ../../node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native/node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
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
✔ Executing: which node
task: ✔ configure
########### filteredTargets [
  {
    udid: '00006020-001851120CC0C01E',
    name: 'My Mac',
    icon: 'Apple Device',
    version: '13.6.4 (22G513)',
    modelName: 'MacBook Pro',
    isDevice: true
  },
  {
    udid: 'addfcc35fc6fd800c67ce1ff49e48a85c206a474',
    name: 'Apple_TV',
    icon: 'TV 📺',
    version: '17.6.1 (21M80)',
    modelName: 'Apple TV (4th generation)',
    isDevice: true
  }
]
info: ✔ Found one device connected! Device name: Apple_TV udid: addfcc35fc6fd800c67ce1ff49e48a85c206a474
task: ○ start ↺1
task: ○ configureSoft ↺1
task: ○ app configure ↺2
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.9
              Fast - Scalable - Integrated


✔ Waiting for bundler to finish...
⠋ Executing: ios-deploy -cinfo React Native v0.75.2 is now available (your project is running on v0.73.4).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.75.2
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.75.2
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".
✔ Executing: ios-deploy -c
✔ Executing: npx react-native run-ios --scheme=RNVApp-tvOS --mode=Debug --no-packager --udid addfcc35fc6fd800c67ce1ff49e48a85c206a474
┌─────────────────────────────────────────────────────────────────┐
│ ✔ BUNDLER STARTED | 9/5/2024, 4:10:44 PM | [email protected]            │
│ $ rnv run -p tvos -d                                            │
├─────────────────────────────────────────────────────────────────┤
│ Project: @rnv/[email protected]                            │
│ Workspace: rnv                                                  │
│ Platform (-p): tvos                                             │
│ Engine: @rnv/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, windows
│ Env Info: darwin | arm64 | node v18.19.0                        │
│ Executed Time: 0h:1m:34s:174ms                                  │
│ info: ✔ Found one device connected! Device name: Apple_TV udid: addfcc35fc6fd800c67ce1ff49e48a85c206a474
│ Project location: ./platformBuilds/template_tvos/RNVApp.xcworkspace
└─────────────────────────────────────────────────────────────────┘

@Marius456 Marius456 added e2e and removed e2e labels Sep 9, 2024
@Marius456 Marius456 modified the milestones: 1.2, 1.3 Sep 10, 2024
Copy link
Collaborator

@GabrieleKaceviciute GabrieleKaceviciute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't work on ios/tvos simulator first time after bootstraping ->
steps to repro:

  1. yarn bootstrap-clean
  2. go to template-starter or app-harness packages
  3. do npx rnv run -p ios or npx rnv run -p tvos -> observe
➜  template-starter git:(fix/tvos-install-on-device) npx rnv run -p ios

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.1.0-rc.1 | renative.org | 9/10/2024, 1:07:27 PM          │
│ $ rnv run -p ios                                                │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn (../engine-rn)
task: ○ run ↺1
info: Build hooks not complied. BUILDING...
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
info: Creating folder ./platformBuilds ...DONE
task: ○ workspace configure ↺1
task: ✔ workspace configure
info: ✔ ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
info: ✔ ../../node_modules/@react-native-community/cli-platform-ios/build/tools/listIOSDevices.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
info: ✔ ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]. FIXING...DONE
info: ✔ ../../node_modules/@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
info: ✔ ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js requires override by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json. FIXING...DONE
info: ✔ ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js requires override by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json. FIXING...DONE
info: ✔ ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js requires override by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json. FIXING...DONE
task: ○ app configure ↺1
? Which one would you like to pick? template
info: Current app config: template
warn: ○ project configure: Updates to package.json are required: (only info. skipping due to template mode)
- dotenv (N/A) => (16.4.5) Missing dependency for platform ios | engine.npm (@rnv/engine-rn)
- dotenv (N/A) => (16.4.5) Missing dependency for platform tvos | engine.npm (@rnv/engine-rn-tvos)
- raf (N/A) => (3.4.1) Missing dependency for platform tizen | engine.npm (@rnv/engine-rn-web)

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]
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]
info: ../../node_modules/@react-native-community/cli-platform-ios/build/commands/runIOS/index.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/[email protected]
info: ../../node_modules/@react-native-community/cli/build/bin.js overriden by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json
info: ✔ ../../node_modules/react-native/node_modules/@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
info: ✔ ../../node_modules/react-native-tvos/node_modules/@react-native-community/cli/build/bin.js requires override by: /@rnv/config-templates/pluginTemplates/@react-native-community/cli/overrides.json. FIXING...DONE
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
info: ../../node_modules/react-native-tvos/Libraries/Components/ScrollView/ScrollViewNativeComponent.js overriden by: /@rnv/config-templates/pluginTemplates/react-native-tvos/overrides.json
task: ✔ project configure
info: Current Build Scheme: debug
task: ✔ platform configure
info: Found custom assetSources at ../../node_modules/@flexn/assets-renative-outline/assets/ios. Will be used to generate assets.
info: Podfile.lock does not exist. Will execute pod actions...
✔ Executing: bundle install
✔ Executing: bundle exec pod install
✔ Executing: which node
task: ✔ configure
? We couldn't find iPhone 15 as a simulator supported by the current version of your Xcode. Please select another sim (Use arrow keys)

second time it works regardless of the selected platform (ios/tvos)

@pauliusguzas pauliusguzas added e2e and removed e2e labels Sep 11, 2024
@pauliusguzas pauliusguzas added e2e and removed e2e labels Sep 11, 2024
@GabrieleKaceviciute GabrieleKaceviciute removed their request for review September 12, 2024 06:23
@Marius456 Marius456 merged commit a4965e1 into main Sep 12, 2024
3 of 13 checks passed
@Marius456 Marius456 deleted the fix/tvos-install-on-device branch September 12, 2024 07:07
@ElenaDiachenko ElenaDiachenko restored the fix/tvos-install-on-device branch September 13, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants