Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8080] iOS: Error showing TARGET_BUILD_DIR incorrect when installing app on iOS simulator or device

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2012-07-04T01:52:16.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 2.0.0, Sprint 2012-06
ComponentsiOS
Labelsqe-ios031912, qe-testadded, regression
ReporterSatyam Sekhri
AssigneeBlain Hamon
Created2012-03-19T12:24:52.000+0000
Updated2012-07-04T01:52:16.000+0000

Description

Steps to Reproduce: 1. Create a sample app 2. Clean the project 3. Select to run on iPhone simulator/ iPhone Device An error is shown as: [INFO] Titanium SDK version: 2.0.0 (03/19/12 00:32 60b6da4) [INFO] iPhone Device family: universal [INFO] iPhone SDK version: 5.0 [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/admin/Documents/AppCeleratorTesting/TestiOS3/build/iphone/build/Debug-iphonesimulator, was: /users/admin/Documents/AppCeleratorTesting/TestiOS3/build/iphone/build/Debug-iphonesimulator [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120319003254/iphone/builder.py", line 1318, in main execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s" % (log_id,sdk_version,debugstr,kroll_coverage)],False) File "/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120319003254/iphone/builder.py", line 1246, in execute_xcode sys.exit(1) 4. Try again running the app on iPhone simulator. The simulator launches and app is running. However, trying running the app again on iPhone Device continues to give the error

Comments

  1. Satyam Sekhri 2012-03-21

    Closing the bug. Able to run app on iPhone simulator and device. Verified on: Titanium SDK: 2.0.0.v20120321071752 Titanium Studio: 2.0.0.201203202130 Mac: 10.6.8 XCode: 4.2
  2. Neha Chhabra 2012-07-04

    Reopening to update labels.

JSON Source