Skip to content

Commit

Permalink
Merge pull request #6096 from cb1kenobi/timob-17703_3_4_X
Browse files Browse the repository at this point in the history
[TIMOB-17703] Fixed bug where Titanium namespace symbol processing was b...
  • Loading branch information
pec1985 committed Sep 16, 2014
2 parents a8e5238 + 2081826 commit 8d09600
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3336,11 +3336,6 @@ iOSBuilder.prototype.copyResources = function copyResources(finished) {
};

iOSBuilder.prototype.processTiSymbols = function processTiSymbols(finished) {
// if we're including all titanium modules, then there's no point writing the defines.h
if (this.includeAllTiModules) {
return finished();
}

var namespaces = {
'analytics': 1,
'api': 1,
Expand Down Expand Up @@ -3393,8 +3388,9 @@ iOSBuilder.prototype.processTiSymbols = function processTiSymbols(finished) {
}
}, this);

// if we're doing a simulator build, return now since we don't care about writing the defines.h
if (this.target === 'simulator') {
// if we're doing a simulator build or we're including all titanium modules,
// return now since we don't care about writing the defines.h
if (this.target === 'simulator' || this.includeAllTiModules) {
return finished();
}

Expand Down

0 comments on commit 8d09600

Please sign in to comment.