Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24577] CLI - Building with deploy type flag is ignored when using Liveview

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Fix
Resolution Date2019-08-05T18:19:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsappc, build, cli, deploy, deployment, liveview, run
ReporterClément Blanco
AssigneeUnknown
Created2017-04-06T11:22:21.000+0000
Updated2019-08-05T18:19:03.000+0000

Description

If I use \-\-liveview for building using the CLI, \-\-deploy-type gets ignored and the build will always be using the development “deploy-type”, no matter what.

Comments

  1. Sharif AbuDarda 2017-04-06

    Hello, Which platform is this happening for you?
  2. Clément Blanco 2017-04-06

    macOS Sierra
  3. Sharif AbuDarda 2017-04-08

    Hello, Please try with the below command
       appc run -p ios -D test -T device --liveview
       
    Should run in device.
  4. Clément Blanco 2017-04-10

    Pretty interesting, so this is the one which didn't work: appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX --deploy-type test --liveview But this one works: appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX -p ios -T device -D test --liveview Which I thought was the same as: appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX --platform ios --target device --deploy-type test --liveview
  5. Clément Blanco 2017-04-10

    Ok so now no matter what, development env is always used after the 2nd liveview refresh.
  6. Sharif AbuDarda 2017-04-11

    Hello, So this works for you?
       appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX -p ios -T device -D test --liveview
       
    For "--deploy-type" use "-D test" for device build. Thanks.
  7. Clément Blanco 2017-04-12

    Yes but only for the first build. As soon as I change something in the code and liveview refresh the build the environment is back from test to development. Isn't \-D and alias for \-\-deploy-type?
  8. Sharif AbuDarda 2017-04-12

    Yes, Seems a valid bug. Moving to engineering. Thanks.

JSON Source