Project: appceleratorstudio
Issue TISTUD-6314: iOS: Packaging - Cannot package for Adhoc or iTunes store
*Details:* Cannot package for Adhoc or iTunes store. Latest AppcStudio Beta build is passing "--deploy-type" "production" when packaging for Adhoc or iTunes Store e.g. {code} "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "build" "--platform" "ios" "--sdk" "3.2.3.v20140403105720" "--deploy-type" "production" "--log-level" "trace" "--project-dir" "/Users/tester/Documents/Appcelerator_Studio_Workspace/Xcode511" "--distribution-name" "Michael Asher (WY35J6ST95)" "--ios-version" "7.1" "--keychain" "" "--pp-uuid" "95B8E578-1273-4D3A-93B4-0607CFE8CFEC" "--target" "dist-appstore" {code} However, AppcStudio GA (3.2.1.201402061120) is passing "--build-type" "production" when packaging for Adhoc or iTunes Store e.g. {code} "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "build" "--platform" "ios" "--sdk" "3.2.2.GA" "--build-type" "production" "--log-level" "trace" "--project-dir" "/Users/wluu/Documents/Appcelerator_Studio_Workspace/checkingMonkey" "--distribution-name" "Michael Asher (WY35J6ST95)" "--ios-version" "7.1" "--keychain" "" "--pp-uuid" "C2AF8ADC-F3DC-485D-ADAB-CAB2B9B5D2D3" "--target" "dist-adhoc" "--output-dir" "/Users/wluu/Desktop" "--skip-js-minify" {code} *Workaround:* From CLI, use "\-\-build\-type" "production" instead of "\-\-deploy\-type" "production" *Note:* 1. This is a regression from AppcStudio GA (3.2.1.201402061120) 2. This is not a blocker because of the workaround. *However,* this is a *critical* ticket because the workaround is not intuitive. 3. Using the latest AppcStudio build, you can still package an app for the *Android* store, *however*, AppcStudio is passing "--deploy-type" "production" as well: {code} "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "build" "--platform" "android" "--sdk" "3.2.3.v20140403105720" "--deploy-type" "production" "--log-level" "trace" "--project-dir" "/Users/tester/Documents/Appcelerator_Studio_Workspace/Xcode511" "--target" "dist-playstore" "--android-sdk" "/Users/tester/Library/android-sdk-macosx" "--output-dir" "/Users/tester/Desktop" "--api-level" "10" "--alias" "wluu" "--keystore" "/Users/tester/Desktop/package.keystore" "--store-password" "**********" "--key-password" "**********r"​ {code} *Steps to reproduce:* 1. Create a default Classic or Alloy app 2. Package app for Adhoc or iTunes Store *Actual:* The following error appears in the console view: {code} [ERROR] : Invalid "--deploy-type" value "production" Accepted values: test development For help, run: titanium help build {code} *Expected:* You should be able to package your app for Adhoc or iTunes Store without any workarounds.
Story points: 5