First lets get some technical details out of the way:
- Snow Leopard 10.6.4
- Titanium Developer 1.2.1
- Titanium SDK 1.3.0
- iOS SDK 3.2 or 4.0
( All with default settings)
The problem is that I can't build a project.
Starting with a fresh project, and testing in Simulator (initially under iOS 4.0, but the same problem occurs under iOS 3.2).
The full transcript can be seen here: http://pastie.org/1032332
But the final error is:
[ERROR] Your TARGET_BUILD_DIR is incorrectly set. Most likely you have configured in Xcode a customized build location. Titanium does not currently support this configuration.
[ERROR] Expected dir /Users/jamesp/Documents/Titanium/Mo/build/iphone/build/Debug-iphonesimulator, was: /users/jamesp/Documents/Titanium/Mo/build/iphone/build/Debug-iphonesimulator
For some reason /users/ and /Users/ are considered to be different, can anyone suggest what is going wrong or how to fix it?
I just had this problem. I resolved it by opening Xcode, going to Preferences, and changing the option for "Place Build Products in" to "Project directory". It resolved my problems immediately.
I had the very same problem just a minute ago, but relaunching worked for me. Or i started XCode, but I didn't do anything in it - maybe that helped somehow anyway?
Case sensitive file systems see them as different folders.
Yes, that is the problem, but why is Titanium Developer using the 2 different versions of Users instead of sticking with 1 version?
I haven't changed any settings, this is an out of the box problem.
For some reason I man suddenly getting this same issue to and I haven't even changed a thing.
Everything was working fine a couple of days ago and now I'm getting the TARGET_BUILD_DIR error.
Double you tee eff?
hi.. check my comments here: http://developer.appcelerator.com/question/119632/your-targetbuilddir-is-incorrectly-set. I believe an old SYMROOT value (from XCode3 project settings) is being picked up by the xcodebuild command line… my suggestion is that the Titanium team integrate the correct SYMROOT from the Ti project settings, by passing it to the command line. Can anyone else confirm this is the issue? thanks J
Craig William's solution worked for me
Look at http://jira.appcelerator.org/browse/TC-530?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel at Workaround part if you are looking for a solution how to run emulators for iPhone, iPad, etc.
it is the only working solution for me (Xcode 4, Ti sdk 220.127.116.11) for now. Hope appcelerator will fix this issue.