renative icon indicating copy to clipboard operation
renative copied to clipboard

[tizenmobile, tizenwatch] rnv target list/launch -p tizenwatch/tizenmobile is not implemented

Open pauliusguzas opened this issue 1 year ago • 1 comments

Describe the bug Terget list and target launch do not work for tizenwatch and tizenmobile NOTE: -p tizen returns all tizen based sims, so this could be also improved by only showing tizen tv sims

To Reproduce

  1. go to template-starter package
  2. run rnv target list -p tizenmobile/tizenwatch (or target launch)

Expected behavior Sims for tizenmobile/tizenwatch are shown

Screenshots or copy&paste

  • target list ->
pauliusguzas@MacBook-Pro-de-Flexn template-starter % rnv target list -p tizenwatch

┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 0.37.3                                                       │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ rnv target list -p tizenwatch                                       │
│        Start Time: 10/10/2023, 11:52:32 AM                                   │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:null
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] _parsePluginTemplateDependencies[1] scope:root
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] _generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-web[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-core path: undefined
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] target list
[ task ] => [target list]
[ task ] [target list] taskRnvTargetList[1]
[ task ] [target list] isPlatformSupported[1]
[ task ] => [target launch] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [target launch] <= workspace configure
[ task ] [target launch] checkSdk[1]
[ task ] [target launch] _isSdkInstalled[1]
[ task ] [target launch] checkAndConfigureAndroidSdks[1] (/Users/pauliusguzas/Library/Android/sdk)
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 10/10/2023, 11:52:33 AM                                       │
│  $ rnv target list -p tizenwatch                                             │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 0.37.3                                                    │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-canary.1                          │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizenwatch                                                   │
│  Engine ($.platforms.tizenwatch.engine): engine-core                         │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Env Info: darwin | x64 | node v18.16.0                                      │
│  Executed Time: 0h:0m:1s:208ms                                               │
│                                                                              │
│ [ error ] [target launch] "target list" command does not support tizenwatch platform yet. Working on it!
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
  • target launch ->
┌──────────────────────────────────────────────────────────────────────────────┐
│                                                                              │
│        ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗       │
│        ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝       │
│        ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗         │
│        ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝         │
│        ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗       │
│        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝       │
│                                                                              │
│        Version: 1.0.0-rc.10                                                  │
│        https://renative.org                                                  │
│        🚀 Firing up!...                                                      │
│        $ npx rnv target launch -p tizenmobile                                │
│        Start Time: 2/1/2024, 2:45:47 PM                                      │
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘

[ task ] registerEngine:engine-core[1]
[ task ] configureRuntimeDefaults[1] appId:undefined
[ task ] checkAndMigrateProject[1]
[ task ] loadPluginTemplates[1]
[ task ] parseRenativeConfigs[1]
[ task ] getWorkspaceDirPath[1]
[ task ] generatePlatformTemplatePaths[1]
[ task ] checkAndBootstrapIfRequired[1]
[ task ] loadIntegrations[1]
[ task ] loadEngines[1]
[ task ] loadEnginePluginDeps[1]
[ task ] loadEnginePackageDeps[1]
[ task ] registerEngine:engine-rn-web[1]
[ task ] findSuitableTask[1]
[ info ] Current Engine: engine-core path: /Users/gabriele/Desktop/renative/packages/engine-core/lib
[ task ] registerMissingPlatformEngines[1]
[ task ] initializeTask[1] target launch
[ task ] => [target launch]
[ task ] [target launch] taskRnvTargetLaunch[1]
[ task ] [target launch] isPlatformSupported[1]
[ task ] [target launch] checkAndConfigureSdks[1]
[ task ] [target launch] checkAndConfigureTizenSdks:tizenmobile[1]
[ task ] => [target launch] => [workspace configure]
[ task ] [workspace configure] taskRnvWorkspaceConfigure[1]
[ task ] <= [target launch] <= workspace configure
? Which target to use? M-7.0-x86 (global default)
[ task ] [target launch] checkSdk[1]
[ task ] [target launch] checkTizenSdk[1]
[ task ] [target launch] _isSdkInstalled[1]
┌──────────────────────────────────────────────────────────────────────────────┐
│  🚀  SUMMARY | 2/1/2024, 2:45:49 PM                                          │
│  $ npx rnv target launch -p tizenmobile                                      │
├──────────────────────────────────────────────────────────────────────────────┤
│  ReNative Version: 1.0.0-rc.10                                               │
│  Project Name ($package.name): @rnv/template-starter                         │
│  Project Version ($package.version): 1.0.0-rc.10                             │
│  Workspace ($.workspaceID): rnv                                              │
│  Platform (-p): tizenmobile                                                  │
│  Engine ($.platforms.tizenmobile.engine): engine-core                        │
│  App Config (-c): template                                                   │
│  Build Scheme (-s): debug                                                    │
│  Env Info: darwin | x64 | node v18.19.0                                      │
│  Executed Time: 0h:0m:1s:500ms                                               │
│                                                                              │
│ [ error ] [target launch] "target launch" command does not support tizenmobile platform yet. You will have to launch the emulator manually. Working on it!
│                                                                              │
└──────────────────────────────────────────────────────────────────────────────┘
➜  ~/Desktop/renative/packages/template-starter git:(771f6fb3d)

Desktop (please complete the following information):

  • OS: Ventura 13.5.2
  • Node Version 18.19.0
  • RNV Version 1.0.0-rc.10
  • rnv/template-starter Version 1.0.0-rc.10

pauliusguzas avatar Oct 10 '23 08:10 pauliusguzas

on 1.0.0-rc.19 tizenwatch works same as using tizen -> shows all tizen platforms (related to https://github.com/flexn-io/renative/issues/1154) or doesn't show anything (related to https://github.com/flexn-io/renative/issues/1253)

pauliusguzas avatar May 22 '24 09:05 pauliusguzas