Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6829] iOS: Tooling - Can't build iOS project if a file name matches the name of its parent directory

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-02-11T21:24:00.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0.1, Release 1.8.1, Release 1.8.2
Fix Version/sRelease 3.2.0
ComponentsiOS
Labelscore, supportTeam
ReporterBrad Weber
AssigneeIngo Muschenetz
Created2011-12-13T00:44:11.000+0000
Updated2014-04-17T08:27:49.000+0000

Description

In Titanium Studio v1.0.7 -> v1.1 (mobile SDK v1.7.5 -> v1.8.0), a project will not build if it contains a file in a directory of the same name. For example: app.js Resources --mymod ----mymod.js Depending on the version of Titanium Studio, the build error message ranges from marginally helpful to not helpful at all. In the best case, the build message indicates that the iOS Simulator can't find a file it is looking for within the app bundle, but gives no indication as to why. To the developer, it looks like the file exists and is in the correct place (in the project). Note, the build fails even if mymod.js is not referenced in any way (no includes, requires, etc.). Changing the name of the parent folder (e.g. to "mymodFramework") allows the project to build successfully again.

Comments

  1. Paul Dowsett 2011-12-21

    Brad Thank you for raising this ticket. Please note the changes that were necessary, as described in [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), in order for me to be able to escalate it. Would you please add the iOS version you tested with, as requested in the checklist? Cheers
  2. Brad Weber 2011-12-21

    Sorry Paul. I was testing with iOS 5.
  3. Shak Hossain 2014-02-11

    This issue can't be reproduced with TISDK 3.2 or higher. Therefore, marking it as resolved.
  4. Priya Agarwal 2014-04-17

    Verified the issue. Working fine. Hence closing. Appc-Studio:3.2.3.201404151910 sdk:3.3.0.v20140416200257 acs:1.0.14 alloy:1.3.1 npm:1.3.2 titanium:3.2.3-beta titanium-code-processor:1.1.1-beta1 xCODE:5.1.1 Device:Nexus7(v4.4.2),Iphone5(v7.1)

JSON Source