Project: appceleratorstudio
Issue TISTUD-7076: Improve the build command passed by Studio to the CLI
h5.Description An example of the command used by Studio is as follows {code} "/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" {code} 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" h5.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
Story points: 3