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

Publish Ad Hoc Enterprise Distribution deploy-type Error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 4.3.3
    • Fix Version/s: None
    • Component/s: Publishing
    • Environment:

      titanium sdk 3.2.3.GA
      ios Mavericks 10.9.5 Xcode 5.1.1

      Description

      [ERROR] : Invalid "--deploy-type" value "production"

      TRACE | _command_ search paths:
      [
      "/Users/soluticaMAC/.appcelerator/install/5.0.4/package",
      "/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
      "/Applications/Appcelerator Studio/node_modules",
      "/Applications/node_modules",
      "/node_modules",
      "/Users/soluticaMAC/.appcelerator/.npm/lib/node_modules"
      ]
      DEBUG | [PLUGIN-LOAD] 0ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/appc.js
      DEBUG | [PLUGIN-LOAD] 606ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/appc.js
      DEBUG | [PLUGIN-LOAD] 1ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/arrow/appc.js
      log level set to "trace"
      executing command "run"
      set environment to

      {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"}

      checking credentials for existing session
      Attempting to load session info from config file
      check if session is invalidated
      session expiry 1448030786590 false
      Arrow Cloud config file: /Users/soluticaMAC/.acs
      found Arrow Cloud login { mid: '0af70481bb8bfcad96bf8dad3e91a076eaaadd49',
      publishPort: 443,
      publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com',
      username: 'jscardigli@close-upinternational.com',
      cookie: [ 'connect.sid=s%3A6sIiP%2FpG9SBuHmBTgJaGQ4W6.zJJmltVcO0oa9EkR76lFpNaC5CroEsgKliyJBd3o%2Bnk; Path=/; Expires=Fri, 27 Nov 2015 14:46:32 GMT; HttpOnly' ],
      defaultEP:

      { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 }

      } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com
      Arrow Cloud cookie expiry [ 1448635592000 ]
      session already loaded in opts.session
      getCredentials() session:
      {
      "ipaddress": "192.168.253.128",
      "username": "jscardigli@close-upinternational.com",
      "password": "<OMITTED>",
      "session": "<OMITTED>",
      "nonce": "<OMITTED>",
      "environment":

      { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }

      ,
      "token": "<OMITTED>",
      "fingerprint": "0af70481bb8bfcad96bf8dad3e91a076eaaadd49",
      "fingerprint_description": "Mac OSX Serial Number: VMWVk0cTgPzvDfo3KZ9eS6BRQ",
      "org_id": 100079491,
      "expiry": 1448030786590
      }
      loading plugins for command "run"
      run search paths:
      [
      "/Users/soluticaMAC/.appcelerator/install/5.0.4/package",
      "/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules",
      "/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules",
      "/Applications/Appcelerator Studio/node_modules",
      "/Applications/node_modules",
      "/node_modules",
      "/Users/soluticaMAC/.appcelerator/.npm/lib/node_modules"
      ]
      [PLUGIN-LOAD] 0ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/appc.js
      [PLUGIN-LOAD] 405ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/appc.js
      run plugin: /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium
      [PLUGIN-LOAD] 1ms /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/arrow/appc.js
      run plugin: /Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/arrow
      plugin "arrow" failed its "when" function check, skipping...
      loading plugin "titanium" for command "run" CLI options via function
      loading plugin "titanium" for command "run" CLI options via array
      Duplicate option "colors" for command "run", removing...
      executing command "run" with the following plugins:
      ["titanium"]
      TRACE | Attempting to load session info from config file
      TRACE | check if session is invalidated
      TRACE | session expiry 1448030786590 false
      TRACE | session already loaded in opts.session
      DEBUG | Titanium Downloads Last Checked: 1447248441825
      TRACE | "/usr/local/bin/node" "/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json
      TRACE | checking for titanium, result:
      { activeSDK: '5.0.2.GA',
      defaultInstallLocation: '/Users/soluticaMAC/Library/Application Support/Titanium',
      installLocations:
      [ '/Users/soluticaMAC/Library/Application Support/Titanium',
      '/Library/Application Support/Titanium' ],
      installed:

      { '5.0.2.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA', '4.1.0.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA', '3.2.3.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.2.3.GA', '3.1.3.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA', '3.1.2.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA', '2.1.4.v20121109124659': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.v20121109124659' }

      ,
      sdks:
      { '5.0.2.GA':

      { name: '5.0.2.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }

      ,
      '4.1.0.GA':

      { name: '4.1.0.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA' }

      ,
      '3.2.3.GA':

      { name: '3.2.3.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.2.3.GA' }

      ,
      '3.1.3.GA':

      { name: '3.1.3.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA' }

      ,
      '3.1.2.GA':

      { name: '3.1.2.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA' }

      ,
      '2.1.4.v20121109124659':

      { name: '2.1.4.v20121109124659', manifest: null, path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.v20121109124659' }

      } }
      DEBUG | getTiDefaultPath /Users/soluticaMAC/Library/Application Support/Titanium
      DEBUG | active sdk install path /Users/soluticaMAC/Library/Application Support/Titanium
      DEBUG | to download {"modules":[

      {"oses":["linux","win32","osx"],"platforms":["iphone","android"],"required":true,"partner_id":"C62F568D148845509E7E9D8317A24462","partner_name":"crittercism","name":"Appcelerator Performance Module","description":"Used to enable the Appcelerator Performance service. Appcelerator Performance service allows you to identify and troubleshoot crashes in your mobile applications.","id":"com.appcelerator.apm","guid":"ec36d909-befa-4ca1-b518-1e3f152ead61","version":"1.1.5","url":"http://s3-us-west-2.amazonaws.com/appcelerator-modules/com.appcelerator.apm-ios_android-1.1.5.zip","min_mobilesdk_version":"3.5.1"}

      ],"components":[

      {"id":"com.soasta.touchtest.matt","name":"Appcelerator Test Module","description":"Used to enable the Appcelerator Test service. Appcelerator Test service allows you to easily automate functional testing for mobile applications.","oses":["linux","win32","osx"],"platforms":["iPhone","android"],"version":"8023.374","url":"http://appctest-2.appcelerator.com/concerto/downloads/mobile/MakeAppTouchTestable.zip","min_mobilesdk_version":"3.1.1","required":true,"partner_id":"B70300B47FCF40FB83F9F870B7BF77E8","partner_name":"soasta"}

      ]}
      TRACE | "/usr/local/bin/node" "/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" config -o json-object
      TRACE | "/usr/local/bin/node" "/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium" sdk -o json
      TRACE | checking for titanium, result:
      { activeSDK: '5.0.2.GA',
      defaultInstallLocation: '/Users/soluticaMAC/Library/Application Support/Titanium',
      installLocations:
      [ '/Users/soluticaMAC/Library/Application Support/Titanium',
      '/Library/Application Support/Titanium' ],
      installed:

      { '5.0.2.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA', '4.1.0.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA', '3.2.3.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.2.3.GA', '3.1.3.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA', '3.1.2.GA': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA', '2.1.4.v20121109124659': '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.v20121109124659' }

      ,
      sdks:
      { '5.0.2.GA':

      { name: '5.0.2.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA' }

      ,
      '4.1.0.GA':

      { name: '4.1.0.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/4.1.0.GA' }

      ,
      '3.2.3.GA':

      { name: '3.2.3.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.2.3.GA' }

      ,
      '3.1.3.GA':

      { name: '3.1.3.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA' }

      ,
      '3.1.2.GA':

      { name: '3.1.2.GA', manifest: [Object], path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA' }

      ,
      '2.1.4.v20121109124659':

      { name: '2.1.4.v20121109124659', manifest: null, path: '/Users/soluticaMAC/Library/Application Support/Titanium/mobilesdk/osx/2.1.4.v20121109124659' }

      } }
      TRACE | /usr/local/bin/node [ '/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',
      'build',
      '',
      '--platform',
      'ios',
      '--sdk',
      '3.2.3.GA',
      '--log-level',
      'trace',
      '--project-dir',
      '/Users/soluticaMAC/Documents/Appcelerator_Studio_Workspace/sfNet-IOS.15.1.46',
      '--deploy-type',
      'production',
      '--distribution-name',
      'SOLUTICA SRL',
      '--ios-version',
      '7.1',
      '--keychain',
      '--pp-uuid',
      '5910c360-f6e5-4984-b9d3-d489be8dd0fa',
      '--target',
      'dist-adhoc',
      '--output-dir',
      '/Users/soluticaMAC/Downloads/OUtput',
      '--no-colors',
      '--no-progress-bars',
      '--no-prompt',
      '--prompt-type',
      'socket-bundle',
      '--prompt-port',
      '49163',
      '--username',
      'jscardigli@close-upinternational.com',
      '--password',
      '[HIDDEN]',
      '--plugin-paths',
      '/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules',
      '--config-file',
      '/var/folders/z1/lh89650j4ls5h01dbkmv1rgw0000gn/T/build-1447426135172.json',
      '--no-banner' ] { env:
      { SHELL: '/bin/bash',
      TMPDIR: '/var/folders/z1/lh89650j4ls5h01dbkmv1rgw0000gn/T/',
      SHLVL: '1',
      JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home',
      STUDIO_PRODUCT_ID: 'com.appcelerator.titanium.rcp.product',
      __CF_USER_TEXT_ENCODING: '0x1F5:0:0',
      STUDIO_VERSION: '4.3.3.201510212245',
      PATH: '/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin',
      ANALYTICS_SOURCE: 'studio',
      APTANA_VERSION: '4.3.3.1445038128',
      USER: 'soluticaMAC',
      PWD: '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS',
      HOME: '/Users/soluticaMAC',
      STUDIO_NAME: 'Appcelerator Studio',
      LOGNAME: 'soluticaMAC',
      APP_ICON_263: '../Resources/titanium.icns',
      Apple_PubSub_Socket_Render: '/tmp/launch-12vmBJ/Render',
      JAVA_STARTED_ON_FIRST_THREAD_263: '1',
      SSH_AUTH_SOCK: '/tmp/launch-d3jKo2/Listeners',
      __CHECKFIX1436934: '1',
      LANG: 'en_US.UTF-8',
      APPC_NPM_VERSION: '4.2.1',
      npm_config_cache: '/Users/soluticaMAC/.appcelerator/.npm',
      npm_config_prefix: '/Users/soluticaMAC/.appcelerator/.npm',
      APPC_INSTALL_DIR: '/Users/soluticaMAC/.appcelerator/install',
      APPC_INSTALL_BIN_DIR: '/Users/soluticaMAC/.appcelerator/install/5.0.4/package/bin/appc',
      APPC_CONFIG_PROXY: '',
      NODE_PATH: '/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules:/Users/soluticaMAC/.appcelerator/cache/node_modules:',
      APPC_SUPPRESS_BANNER: 'true',
      APPC_SUPPRESS_PROGRESS: 'true',
      APPC_NO_BANNER: 'true',
      APPC_REGISTRY_SERVER: 'https://software.appcelerator.com',
      APPC_SECURITY_SERVER: 'https://security.appcelerator.com',
      APPC_DASHBOARD_URL: 'https://platform.appcelerator.com',
      APPC_ENV: 'production',
      APPC_SESSION_TOKEN: 'bd8cf606ffec9e274d768f0517982c2597349c9f%20f8goD7tJfs48WcdauDXqV3wWN9i25qDP2LbB%2BZvW2kQHM%2B53w3RrK5qviCuY%2FdUWT7WEwk5L9wH0EZjzZ9VDkOmiC2UsFs20vyWTmy%2FEpGbl74Oys2JaO61ZnSWV94y7zCJqg1ouUB8jGTfR9gCriyOOLlw2%2BncXWyuUKH9uCtVNkTM4JNfI8z4t7ddrwE%2F9mdOtufGZ8n33OWL8g30LkTbPxAuMSJz%2F29j5t%2BvusaVnqIOS%2F5Gp2UVijVJjOGvlWk79Gn0TybP%2BkhFt%2F1yDK%2FU7%2BWAiEU5kkw6lTFjvvZBKRzz1de7pkabst%2BCnt3S2%2BmmNX%2B9STdbw0oHkSTTcO8Kd5GGLDm7A0MONl39qBiuMpqiEHvS1uEfdHoLipAxhoSCo04FCK%2BM2mhqYjr2%2F9tkp7Bkm2sMPUWCfvteZ9SHA9GRAMo%2BvMH%2FgtnEdR9rKqT2H7pST6wyoaw3LVWFRfu%2FwqS%2BIz2vvceFrI021OJU3S6R37h4OeKLiXDbzi4P4MV%2F9lg0V2pZPF9xsG%2Fm9xiN3fbEsi%2BlFFXQN575eK455sZ0XzUCzwhOks9Cqf6TLUk8HfM%2Bv2tcjx192d3t7Gjs0SsNIfgnRS6IBCNvKTHaitGCrGo7s0Ee%2BJeTLEJTiJ0%2Bs%2FLx4C5ptfE1Apytdngm8HLWc6g%2F0s%2F06GCI95aNQhAuMqsafjwbCJgS%2FiFt9ZYL%2Beb5nzUF4DHx4pEqk0E8spMVLrNHl%2FINBpx5Jy65C82slpfa2MyPggnoBKngZYhFSEyVA0UIYoBXh222jxUTPxBxeQ78eLTKkMv%2Fyib%2BhtgzPWxEHbpsp8UoEoUGM',
      APPC_SESSION_SID: 's%3AhRVWSjwPFhzdeWVQbgY03XwUpd2DVoym.3MXRCur09gLb3pX1E8mSWk1%2BVGuYdsBqHu9aWRKUNtA',
      APPC_SESSION_USERNAME: 'jscardigli@close-upinternational.com',
      APPC_SESSION_ORGID: '100079491',
      APPC_SESSION_ENV: '

      {"name":"production","isProduction":true,"acsBaseUrl":"https://api.cloud.appcelerator.com","acsAuthBaseUrl":"https://secure-identity.cloud.appcelerator.com","nodeACSEndpoint":"https://admin.cloudapp-enterprise.appcelerator.com"}

      ',
      APPC_SESSION_ENTITLEMENTS: '{"id":"54d8e493ce78815d81104cb2","name":"Individual","partners":["acs","analytics"],"supportLink":"https://community.appcelerator.com","users":

      {"min":1,"max":1}

      ,"testingDevices":

      {"min":0,"max":0}

      ,"allowProduction":true,"arrowPublish":false,"nativeSDK":false,"insights":false,"apiRateMonthPerSeat":1000000,"apiRateMinute":20,"pushRateMinute":20,"storageGBRateMonth":5,"eventRateMonthPerSeat":500000,"daysDataRetained":30,"maxOrganizations":1,"dateRangeLimit":30,"dateRangeCustom":true,"exportMetrics":false,"exportAcs":false,"paid":true,"containerPoints":0,"containerPointsPerSeat":0,"_version":1}',
      ALLOY_PATH: '/Users/soluticaMAC/.appcelerator/install/5.0.4/package/node_modules/appc-cli-titanium/node_modules/alloy/bin/alloy' },
      stdio:
      [

      { _connecting: false, _hadError: false, _handle: [Object], _host: null, _readableState: [Object], readable: true, domain: null, _events: [Object], _maxListeners: undefined, _writableState: [Object], writable: false, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 0, _writev: null, _pendingData: null, _pendingEncoding: '', fd: 0 }

      ,

      { _connecting: false, _hadError: false, _handle: [Object], _host: null, _readableState: [Object], readable: false, domain: null, _events: [Object], _maxListeners: undefined, _writableState: [Object], writable: true, allowHalfOpen: false, destroyed: false, bytesRead: 0, _bytesDispatched: 9246, _writev: null, _pendingData: null, _pendingEncoding: '', read: null, _type: 'pipe', fd: 1, _isStdio: true, destroySoon: [Function], destroy: [Function] }

      ,
      'pipe' ] }
      [ERROR] : Invalid "--deploy-type" value "production"
      Accepted values:
      test
      development
      For help, run: titanium help build
      TRACE | titanium exited with exit code 1
      ERROR | Error: ti run exited with error code 1

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              henrex Enrique Mariani de Camas
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: