[TIMOB-2588] Tooling: iOS - TARGET_BUILD_DIR is incorrectly set on app launch
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T03:23:43.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 |
Components | iOS |
Labels | release-1.6.0, reported-1.5.0 |
Reporter | tom quas |
Assignee | Paul Dowsett |
Created | 2011-04-15T03:23:42.000+0000 |
Updated | 2017-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
- Stephen Tramer 2011-04-15
Looks like we don't support case-sensitive filesystems.
- 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...
- 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).
- Reggie Seagraves 2011-11-21 We need recreation steps, etc. Please see if you can identify and isolate the issue.
- Lee Morris 2017-03-02 Closing ticket as invalid.