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

Error while building a titanium project to iOS device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: Release 5.0.0
    • Component/s: Tooling
    • Labels:
    • Environment:

      Mac OS 10.10.4
      Appc Studio: 5.0.0.201508240838
      Ti SDK: 5.0.0.v20150826192455
      Ti CLI: 4.1.5
      Node.js: 0.10.37
      Xcode 7b6

    • Story Points:
      2
    • Sprint:
      2015 Sprint 17 Tooling

      Description

      An error is shown when trying to build a project to iOS device.

      The issue occurs on the latest build of sdk on master branch. On an older build from master branch the issue does not occur. I tried the sdk build 5.0.0.v20150825004430 on which the issue does not occur.

      Steps to Reproduce:
      1. Create a new titanium project using ti create
      2. Run it on the device. ti build -p iOS -T device

      Actual Result:
      An error is shown

      ti build -p ios -T device
      Titanium Command-Line Interface, CLI version 4.1.5, Titanium SDK version 5.0.0.v20150826192455
      Copyright (c) 2012-2015, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      Which developer certificate would you like to use?
      /Users/ssekhri/Library/Keychains/login.keychain
         1)  QE Department (C64864TF2L)  (expires Dec  2, 2015  3:04:10 am)
      Select a certificate by number or name: 1
       
       
      /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:194
              throw e;
                    ^
      TypeError: Cannot read property 'id' of undefined
          at Object.prompt (/Users/ssekhri/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150826192455/iphone/cli/commands/_build.js:883:21)
          at CLI.<anonymous> (/usr/local/lib/node_modules/titanium/lib/cli.js:838:9)
          at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:731:21)
          at processImmediate (timers.js:354:15)
      ---------------------------------------------
          at async.setImmediate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:96:15)
          at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:696:21
          at Array.forEach (native)
          at _each (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:32:24)
          at _insert (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:681:11)
          at q.push (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:708:15)
          at /usr/local/lib/node_modules/titanium/lib/cli.js:925:9
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code