Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1068] The CLI plist file failed to allow a valid compile

GitHub Issuen/a
ResolutionNot Our Bug
Resolution Date2015-02-03T15:21:15.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI, Studio, Titanium SDK & CLI
ReporterTrevor Ward
AssigneeMauro Parra-Miranda


in the Library/Application Support/Titanium/mobilesdk/osx/3.3.0.GA/node_modules/node-appc/lib/plist.js file there is a piece of code at line 127..
if (next.tagName == 'key') {
	obj[key] = null;
	node = next;
Our application fell over with a null exception. Changed the code to
if (next && next.tagName == 'key') {
	obj[key] = null;
	node = next;
and all is working again. This is only an issue in 3.3.0 SDK


  1. Trevor Ward 2014-09-05

    Further info. We have identified the issue and it is to do with the tiapp.xml file, which has this code at the end. CFBundleURLTypes CFBundleTypeRole Editor CFBundleURLName com.firstutility.firstutility commenting out the last key item as it doesn't have a string object fixed the build. However we are now trying to identify where this code has come from..
  2. Trevor Ward 2014-09-05

    OK have now gone through git, this code was inserted by enabling the Sensa automated testing. 1 line of code was removed below the last key at some point which was causing the issue.
  3. Mauro Parra-Miranda 2014-09-11

    [~thewarpedcoder]: From your last comment, is this still an issue? Best Regards!

JSON Source