[TIMOB-18368] Bug in CLI build script
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-01-16T22:20:46.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 4.0.0 |
| Components | CLI |
| Labels | n/a |
| Reporter | Jeff Haynie |
| Assignee | Tim Poulsen |
| Created | 2015-01-13T08:21:38.000+0000 |
| Updated | 2015-03-26T20:41:37.000+0000 |
Description
https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L1423
Should be
if (this.forceRebuild || !fs.existsSync(path.join(this.xcodeAppDir, this.tiapp.name))) {
What steps would I follow or what system configuration would I need to test this change?
PR: https://github.com/appcelerator/titanium_mobile/pull/6567
Verified using: Mac OSX 10.10.2 Titanium SDK build: 4.0.0.v20150323131014 Titanium CLI, build: 4.0.0-alpha Alloy: 1.6.0-alpha Xcode 6.2 iPhone 6 Simulator (8.2) If the Xcode app directory is wiped out before the build then the rebuild is performed. Closing ticket.