Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15687] CLI: KitchenSink fails to build

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-11-14T01:33:07.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0
ComponentsCLI
Labelsqe-3.2.0, qe-testadded
ReporterSamuel Dowse
AssigneeChris Barber
Created2013-11-08T19:27:52.000+0000
Updated2014-02-21T19:14:39.000+0000

Description

Description

KitchenSink fails to build to device

Steps To Reproduce

1. Pull the latest KitchenSink from Git 2. Run the application on device

Expected Result

KitchenSink should be installed and running on device

Actual Result

KitchenSink fails to build +Extra Information+
/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/iphone/cli/commands/_build.js:2946
			Object.keys(this.tiapp.properties).forEach(function (prop) {
			       ^
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at iOSBuilder.<anonymous> (/Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/iphone/cli/commands/_build.js:2946:11)
    at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/node_modules/node-appc/lib/async.js:49:6
    at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/node_modules/async/lib/async.js:229:13
    at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/node_modules/async/lib/async.js:139:25
    at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/node_modules/async/lib/async.js:226:17
    at /Users/sdowse/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131108104842/node_modules/async/lib/async.js:553:34
    at Object.oncomplete (fs.js:107:15)

Comments

  1. Chris Barber 2013-11-11

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4930
  2. Chris Barber 2013-11-11

    To test, remove all tags from tiapp.xml and build.
  3. Paras Mishra 2013-11-15

    Successfully build for android and iOS device as $ ti build -p ios -T device $ ti build -p android -T device Verified fix on: Device : Google Nexus 3, Android Version: 4.0.4, Device : iPhone 5 , iOS version : 7.0 SDK: 3.2.0.v20131114184328 CLI version : 3.2.0 OS : MAC OSX 10.9 Alloy : 1.3.0 Appcelerator Studio, build: 3.2.0.201311122338 XCode : 5.0.2

JSON Source