diff --git a/lib/pbxWriter.js b/lib/pbxWriter.js index a65bcf1..b1d9bdf 100644 --- a/lib/pbxWriter.js +++ b/lib/pbxWriter.js @@ -180,6 +180,9 @@ pbxWriter.prototype.writeArray = function (arr, name) { for (i=0; i < arr.length; i++) { entry = arr[i] + if(!entry){ + continue; + } if (entry.value && entry.comment) { this.write('%s /* %s */,\n', entry.value, entry.comment); } else if (isObject(entry)) {