Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15575] CLI: iOS7.0.3 is not recognized by CLI

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-10-28T18:07:57.000+0000
Affected Version/sRelease 3.1.3, Release 3.1.4, Release 3.2.0
Fix Version/s2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0
ComponentsCLI
LabelsCLI, qe-3.2.0, qe-testadded
ReporterOlga Romero
AssigneeChris Barber
Created2013-10-24T19:17:50.000+0000
Updated2014-03-13T09:53:08.000+0000

Description

Attachments

FileDateSize
CLI_Log.txt2013-10-28T10:39:06.000+00003253

Comments

  1. Chris Barber 2013-10-25

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4859
  2. Dhirendra Jha 2013-10-28

    Environment - Titanium Studio: 3.2.0.201310280656 SDK: 3.2.0.v20131027201356 acs: 1.0.7 alloy: 1.2.2 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode Version 5.0.1 (5A2053) Mac osx 10.9 Mavericks Result - Run the "ti info" command. Now it shows 7.0.3 iOS Simulator. See the details - Xcode 5.0.1 (build 5A2053) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer/ iOS SDKs = 7.0.3 iOS Simulators = 6.0, 6.1, 7.0.3 CLI Tools Installed = no Supported by TiSDK 3.2.0 = yes But also getting errors under the iOS Simulators section. See the attached log file. Hence reopening this issue.
  3. Ingo Muschenetz 2013-10-28

    Erros as listed:
       /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181
               throw e;
                     ^
       TypeError: Cannot call method 'join' of undefined
           at /usr/local/lib/node_modules/titanium/lib/commands/info.js:629:61
           at Array.map (native)
           at printIos (/usr/local/lib/node_modules/titanium/lib/commands/info.js:625:30)
           at printData (/usr/local/lib/node_modules/titanium/lib/commands/info.js:400:4)
           at /usr/local/lib/node_modules/titanium/lib/commands/info.js:304:4
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25
           at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:24:16
           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:513:34
       ---------------------------------------------
           at Readable.on (_stream_readable.js:679:33)
           at Connection.exec (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/adb.js:114:9)
           at ADB.devices (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/adb.js:354:23)
           at Object.detectDevices (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/android/cli/lib/detect.js:49:18)
           at /usr/local/lib/node_modules/titanium/lib/commands/info.js:259:12
           at finalize (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/android.js:305:4)
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/android.js:626:4
           at ChildProcess.<anonymous> (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/node-appc/lib/subprocess.js:58:3)
       ---------------------------------------------
           at run (/Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/node-appc/lib/subprocess.js:57:8)
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/android.js:406:3
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/async/lib/async.js:530:17
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/async/lib/async.js:116:25
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/async/lib/async.js:24:16
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/async/lib/async.js:527:21
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/android.js:144:7
           at /Users/dhirendra.jha/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131027201356/node_modules/titanium-sdk/lib/android.js:760:3
       
  4. Chris Barber 2013-10-28

    That last error was fixed in the latest 3.2.0 CI build. I tested this with 3.2.0.v20131028093244 and it works as expected.
  5. Dhirendra Jha 2013-10-29

    Environment - Titanium Studio: 3.2.0.201310280656 SDK: 3.2.0.v20131028170320 acs: 1.0.7 alloy: 1.2.2 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode Version 5.0.1 (5A2053) Mac osx 10.9 Mavericks Result - Verified with latest build. Now "ti info" works as expected without any error.
  6. Wilson Luu 2013-10-29

    Closing ticket as fixed. Verified "ti info" recognizes iOS SDK 7.0.3 and iOS Simulator 7.0.3 when with Xcode 5.0.1 and the longjohn error is not being returned. Tested on: SDK build: 3.2.0.v20131028222444 Ti CLI: 3.2.0 (ddc8eb9a78ba9a30879eed4123af6a72577c3609) OS: Mavericks (10.9) Xcode: 5.0.1

JSON Source