Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2588] Tooling: iOS - TARGET_BUILD_DIR is incorrectly set on app launch

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:23:43.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0
ComponentsiOS
Labelsrelease-1.6.0, reported-1.5.0
Reportertom quas
AssigneePaul Dowsett
Created2011-04-15T03:23:42.000+0000
Updated2017-03-02T22:48:44.000+0000

Description

Compiled and ran in simulator until 9am this morning. Then I rebooted the machine. No installations, updates whatever.

Tried to rebuild KitschenSink, got this:

[INFO] Compiler plugin loaded and working for ios [INFO] Performing clean build [INFO] Compiling localization files [INFO] Detected custom font: comic_zine_ot.otf [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/tom/Projects/3rdparty/titanium-mobile/demos/KitchenSink/build/iphone/build/Debug-iphonesimulator, was: /users/tom/Projects/3rdparty/titanium-mobile/demos/KitchenSink/build/iphone/build/Debug-iphonesimulator [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py", line 1003, in main
execute_xcode("iphonesimulator%s" % iphone_version,["GCC_PREPROCESSOR_DEFINITIONS=LOGID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s" % (log_id,sdk_version)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py", line 946, in execute_xcode
sys.exit(1)
SystemExit: 1

Hmm, watch the expected/was line: isn't that exactly what it's supposed to be?

Solution

* open Xcode > Preferences * change option for "Place Build Products in" to "Project directory"

Comments

  1. Stephen Tramer 2011-04-15

    Looks like we don't support case-sensitive filesystems.

  2. Stephen Tramer 2011-04-15

    OK, turns out this is an xcode bug that seems to crop up with case-sensitive filesystems. See: http://developer.appcelerator.com/question/40691/mobil-sdk-130---targetbuilddir-is-incorrectly-set"> http://developer.appcelerator.com/question/40691/mobil-sdk-130---ta...

  3. Paul Dowsett 2011-11-19

    Some users are reporting that the workaround in Stephens link above no longer works for more recent versions of Xcode. Also see the ongoing discussions between users experiencing the same trouble at [\[ERROR\] Your TARGET_BUILD_DIR is incorrectly set.](http://developer.appcelerator.com/question/117950/error-your-targetbuilddir-is-incorrectly-set) and [Really? That's the first impression?](http://developer.appcelerator.com/question/71331/really-thats-the-first-impression).
  4. Reggie Seagraves 2011-11-21

    We need recreation steps, etc. Please see if you can identify and isolate the issue.
  5. Lee Morris 2017-03-02

    Closing ticket as invalid.

JSON Source