Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16652

CLI: build to all iOS devices feature throws an error

    Details

      Description

      Description

      Using the CLI to build to multiple devices using the command "ti build -p ios -C all -T device" throws an error and fails the build.

      Steps To Reproduce

      1. Create a classic project
      2. Connect multiple iOS devices
      3. Run "ti build -p ios -C all -T device"

      Expected Outcome

      App should be installed on all devices

      Actual Outcome

      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
              throw e;
                    ^
      TypeError: Cannot read property 'cyan' of undefined
          at iOSBuilder.validate (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/iphone/cli/commands/_build.js:880:139)
          at exports.validatePlatformOptions (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/node_modules/titanium-sdk/lib/titanium.js:616:69)
          at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140317110130/cli/commands/build.js:192:19
          at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:848:7)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13
          at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:145:25
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:17
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:556:34
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              sdowse Samuel Dowse
              Reviewer:
              Sabil Rahim
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-18495
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration