Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11967

CLI : Need to change verbage of the '-s' & '--sdk' flags in build command which parses the tiapp.xml for the sdk,rather than using the sdk mentioned in the command to build the app.

    Details

      Description

      Steps to reproduce:
      1.Create an android(or iOS) app using CLI.
      2.Build using the 'build' command with 's <sdk-version>' or '-sdk<sdk version>'.
      3.Notice that CLI builds the app using the sdk in the tiapp.xml rather than the sdk specified in the 's' or '-sdk'.
      4.The '-s' command just parses the tiapp.xml & picks up the sdk in the tiapp.xml to build the app & ignores the sdk passed with '-s' flag.

      This is confusing with the current description of 's' & '-sdk' flag in CLI which is: "Titanium SDK version to use"

      Expected results:
      We need to change it to a proper description which is not confusing.

        Activity

        Show
        Chris Barber added a comment - Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3538 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3541
        Hide
        Eric Merriman added a comment -

        verified fixed with:
        SDK: 3.0.0.v20121207120202
        Titanium Studio, build: 3.0.0.201212061921
        Mac OS X 10.8.2
        Xcode 4.5.2
        CLI: 3.0.20

        Now seeing:
        -s, --sdk <value> Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by <sdk-version> in the tiapp.xml

        Show
        Eric Merriman added a comment - verified fixed with: SDK: 3.0.0.v20121207120202 Titanium Studio, build: 3.0.0.201212061921 Mac OS X 10.8.2 Xcode 4.5.2 CLI: 3.0.20 Now seeing: -s, --sdk <value> Titanium SDK version to use to bootstrap SDK-level commands and parse the tiapp.xml; actual Titanium SDK used determined by <sdk-version> in the tiapp.xml

          People

          • Assignee:
            Chris Barber
            Reporter:
            Lokesh Choudhary
          • Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development