Skip to content

[ios, tvos] Build and export commands ignore what is given in -c argument in cli #1810

Closed
@pauliusguzas

Description

@pauliusguzas

Describe the bug
Build and export commands ignore what is given in -c argument in cli

To Reproduce

  1. Make sure you don't have currentAppConfigId defined in renative.local.json under template or harness
  2. Go to template or harness
  3. Do npx rnv build -p tvos -s test -c template -> cli asks to choose app config even though user provided it
pauliusguzas@MBP-de-Flexn template-starter % rnv build -p tvos -s test -c template

┌─────────────────────────────────────────────────────────────────┐
│ ██████╗ ███████╗███╗   ██╗ █████╗ ████████╗██╗██╗   ██╗███████╗ │
│ ██╔══██╗██╔════╝████╗  ██║██╔══██╗╚══██╔══╝██║██║   ██║██╔════╝ │
│ ██████╔╝█████╗  ██╔██╗ ██║███████║   ██║   ██║██║   ██║█████╗   │
│ ██╔══██╗██╔══╝  ██║╚██╗██║██╔══██║   ██║   ██║╚██╗ ██╔╝██╔══╝   │
│ ██║  ██║███████╗██║ ╚████║██║  ██║   ██║   ██║ ╚████╔╝ ███████╗ │
│ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═══╝╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═══╝  ╚══════╝ │
│ 🚀 v:1.7.0-rc.0 | renative.org | 29/11/2024, 17:44:07           │
│ $ rnv build -p tvos -s test -c template                         │
└─────────────────────────────────────────────────────────────────┘
info: Current engine: @rnv/engine-rn-tvos (../engine-rn-tvos)
task: ○ build ↺1
task: ○ package ↺1
task: ○ configure ↺1
task: ○ platform configure ↺1
task: ○ project configure ↺1
task: ○ workspace configure ↺1
task: ✔ workspace configure
task: ○ app configure ↺1
? Which one would you like to pick? (Use arrow keys)
❯ app
  template

Desktop (please complete the following information):

  • OS: Ventura 13.5.2
  • Node Version 18.18.0
  • RNV Version 1.7.0-rc.0
  • template-starter Version 1.7.0-rc.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions