Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17811] CLI: Check for iPhone platform in tisdk3fixes.js breaks Windows environment

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2014-10-01T16:04:06.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.2, Release 3.5.0, Release 4.0.0
ComponentsCLI, iOS
Labels3.4.0, windows7
ReporterPier Paolo Ramon
AssigneeChris Barber
Created2014-10-01T10:03:23.000+0000
Updated2015-03-03T22:42:58.000+0000

Description

At [tisdk3fixes.js:75](https://github.com/appcelerator/titanium/blob/master/hooks/tisdk3fixes.js#L75) you check for cli.sdk.platforms.iphone.path but actually cli.sdk.platforms.iphone is undefined. You can add at line 74 the following as a solution:
// ...
if (!cli.sdk.platforms.iphone) {
  return callback();
}
// ...

Comments

  1. Ingo Muschenetz 2014-10-01

    [~cb1kenobi] let me know if you can take this in this sprint.
  2. Pier Paolo Ramon 2014-10-01

    Here’s the proposed solution as a PR: https://github.com/appcelerator/titanium/pull/165
  3. Chris Barber 2014-10-01

    Dupe of TIMOB-17808.

JSON Source