Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15198] CLI: cannot build app with Alloy and SDK 3.2.0

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-09-20T23:10:59.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 19, 2013 Sprint 19 Core, Release 3.2.0
ComponentsCLI
Labelsappcelerator_smoke, qe-closed-3.2.0, qe-manualtest
ReporterDavide Cassenti
AssigneeChris Barber
Created2013-09-16T16:25:23.000+0000
Updated2014-08-08T22:21:48.000+0000

Description

Problem description

When building an app with Alloy using SDK 3.2.0, the build fails saying that ti.alloy plugin cannot be found. However, the command ti plugin shows it.

Steps to reproduce

1) Create a new Alloy app 2) Choose SDK 3.2.0 3) Build from Studio or CLI

Error

[DEBUG] Detecting plugins in /Users/dcassenti/Titanium/AppceleratorStudio/AlloyTest/plugins
[DEBUG] Detected plugin: ti.alloy @ /Users/dcassenti/Titanium/AppceleratorStudio/AlloyTest/plugins/ti.alloy
[DEBUG] Detecting plugins in /Users/dcassenti/Library/Application Support/Titanium/plugins
[DEBUG] Detected plugin: com.appcelerator.test @ /Users/dcassenti/Library/Application Support/Titanium/plugins/com.appcelerator.test
[DEBUG] Looking for Titanium plugin id=ti.alloy version=1.0
[WARN]  Could not find Titanium plugin id=ti.alloy version=1.0
[ERROR] Could not find all required Titanium plugins:
[ERROR]    id: ti.alloy	 version: 1.0

Note

Output of ti plugin:
Project CLI Plugins
ti.alloy
  Version    = unknown
  Location   = /Users/username/Titanium/AppceleratorStudio/AlloyTest/plugins/ti.alloy
  Commands   = No commands found
  Hooks      = alloy
 
Configured Path CLI Plugins
No CLI plugins found
 
Global CLI Plugins
com.appcelerator.test
  Version    = unknown
  Location   = /Users/username/Library/Application Support/Titanium/plugins/com.appcelerator.test
  Commands   = No commands found
  Hooks      = No hooks found

Comments

  1. Chris Barber 2013-09-18

    Confirmed and fixed. PR coming shortly.
  2. Chris Barber 2013-09-21

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4723
  3. Olga Romero 2013-11-09

    Tested and verified Fixed with CLI 3.2.0 (git://github.com/appcelerator/titanium.git) Alloy 1.3.0 Titanium SDK, build 3.2.0.v20131107161747 Xcode 5.0 Created a default Alloy project
       ti build --platform iphone --target simulator --log-level trace
       

JSON Source