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

CLI: Build - In SDK 3.3.0, installing to iOS or Android device returns longjohn error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.3.0
    • Component/s: CLI
    • Labels:
      None
    • Environment:

      Description

      Details: In SDK 3.3.0, installing to iOS device returns longjohn error.

      Steps to reproduce:
      1. Create a default Titanium Classic or Alloy app
      2. Run this CLI command in the project: ti build --platform iphone --target device --ios-version 7.0.3

      Actual: CLI returns longjohn error:

      monkey16143 wluu$ ti build --platform iphone --target device --ios-version 7.0.3
      Titanium Command-Line Interface, CLI version 3.2.1-beta, Titanium SDK version 3.3.0.v20140116174047
      Copyright (c) 2012-2013, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
              throw e;
                    ^
      TypeError: Cannot read property 'properties' of undefined
          at iOSBuilder.validate (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/iphone/cli/commands/_build.js:824:58)
          at exports.validatePlatformOptions (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/titanium-sdk/lib/titanium.js:615:69)
          at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/cli/commands/build.js:192:19
          at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:844:7)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:224:13
          at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:131:13)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:142:25
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34
      ---------------------------------------------
          at run (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/node-appc/lib/subprocess.js:59:8)
          at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/iphone/cli/lib/detect.js:356:9
          at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/async/lib/async.js:508:21
          at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/async/lib/async.js:224:13
          at /Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/async/lib/async.js:108:13
          at Array.forEach (native)
          at _each (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/async/lib/async.js:32:24)
          at async.each (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.v20140116174047/node_modules/async/lib/async.js:107:9)
      

      Expected: CLI should not return longjohn error when installing to iOS devices.

      Note: This is the CLI command used by Studio:

      "/usr/local/bin/titanium" "--no-colors" "--no-progress-bars" "--no-prompt" "build" "--platform" "iphone" "--sdk" "3.3.0.v20140116174047" "--log-level" "trace" "--target" "device" "--ios-version" "7.0.3" "--device-family" "universal" "--developer-name" "QE Department (C64864TF2L)" "--device-id" "08e438859cff384c07529d645ca188746afeb8c7" "--pp-uuid" "98F73243-B6CA-4F18-A4A6-64ED9096038C" "--skip-js-minify"
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                wluu Wilson Luu (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration