Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6998] Tooling: iOS - Xcode build fails for project using a module, when directory exists in the Resources directory with same name as project

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2016-08-22T22:29:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsTooling
Labelsn/a
ReporterErik Bryn
AssigneeIngo Muschenetz
Created2011-10-21T20:21:17.000+0000
Updated2017-03-16T21:38:58.000+0000

Description

Problem

Xcode build fails for project when directory exists in the Resources directory with same name as project. This issue *only* occurs for projects with modules.

Discussion and Workaround

Q&A: [http://developer.appcelerator.com/question/119869/ios]

Steps to reproduce

1. Create a Titanium mobile project named "NameConflict" 2. Create a directory inside Resources also named "NameConflict" 3. Create a JS file inside of the newly created directory 4. Add a module to the tiapp.xml file and place the module inside the project 5. Try to build... in Xcode 3.2.6 you'll get a "SystemExit: 1" and in Xcode 4.2 you'll get a "SystemExit: 65"

Comments

  1. Paul Dowsett 2012-01-05

    Erik Thanks for raising this ticket. Although I have escalated it, it's crucial that you complete the environment field, as per the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist). If this is not done by the time someone looks at it, there is a chance that the ticket will be closed and marked "Incomplete". Would you kindly do this? Thanks in advance for your cooperation. Cheers
  2. Daniel Sefton 2012-02-05

    Just to enforce this report, I've come across the same issue. In fact, it's reproducible even without steps 3 and 4 as described. Just create a new project, create a folder with the same name and hit build; hey presto, a tonne of errors. Here's my environment: Titanium Studio, build: 1.0.8.201201262211 Build: jenkins-titanium-rcp-master-136 (origin/master)
  3. Nikolai Derzhak 2012-02-06

    This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.
  4. Chris Barber 2016-08-22

    Titanium does not allow you to create a file or directory with the same name as the app. This was initially introduced in Titanium SDK 5.4.0.GA (TIMOB-19411). However this did a case-sensitive match. In Titanium SDK 5.5.0, we added a case-insensitive check (TIMOB-23756).
  5. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source