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"
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
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)
This issue latest notification was not sent due to JIRA mail setting. Fixed now. Please check the issue for latests changes.
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).
Closing ticket as fixed.