Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7076

Improve the build command passed by Studio to the CLI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 4.1.0
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Mac OSX 10.10.1
      Appcelerator Studio, build: 3.4.1.201410281743
      Titanium SDK build: 3.5.0.v20141201155733, 3.6.0.v20141201145716
      Titanium CLI, build: 3.4.1
      Alloy: 1.5.1

    • Story Points:
      3
    • Sprint:
      2014 Sprint 25 Studio

      Description

      Description

      An example of the command used by Studio is as follows

      "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "iphone" "--log-level" "trace" "--sdk" "3.6.0.v20141201145716" "--project-dir" "/Users/eharris/Documents/Appcelerator_Studio_Workspace/TIMOB17350" "--target" "device" "--ios-version" "8.2" "--device-family" "universal" "--developer-name" "QE Department (C64864TF2L)" "--device-id" "f8052c8714f0b9585a8f89274f447bbd4eda1601" "--pp-uuid" "f0a56225-0b09-4694-aecd-630953506ca6" "--skip-js-minify" "--skip-js-minify"
      

      As we now show the users in Studio the command used this should be improved to remove any unnecessary flags and use the correct values.

      For example the second "--skip-js-minify" should be removed and use "--platform" "ios" instead of "--platform" "iphone"

      Steps To Reproduce

      1. Build a project for iOS
      2. Check the Studio logs for the command, or if using the latest SDK from master branch Studio will print the logs for you in the console

        Attachments

          Activity

            People

            • Assignee:
              smishra Sujeet Mishra
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Praveen Innamuri (Inactive)
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: