{ "id": "62885", "key": "TIMOB-2253", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-16T12:13:08.000+0000", "created": "2011-04-15T03:14:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-16T12:13:08.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

SUMMARY
\nWhen developing with Titanium on Mac OS X (e.g. 10.6.4) for the\nfirst time, a test project may likely fail. This happened to me\ninternally, and per Ralf, an external OS X developer following the\nsame prescribed set of steps and versions of all software. The\nbehavior is the difference between downloading Titanium Mobile\n1.4.1.1 with the test working, but using git to clone 1.5.0 (the\nlatest stable release), and scons to build it, results in\n\"execute_xcode\" reporting an ERROR per the output below:

\n

DIAGNOSTIC OUTPUT
\n[ERROR] Error: Traceback (most recent call\nlast): File \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py\", line 866,\nin main
\nexecute_xcode(\"iphonesimulator%s\" %\niphone_version,[\"GCC_PREPROCESSOR_DEFINITIONS=LOGID__=%s\nDEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s\" %\n(log_id,sdk_version)],False)
\nFile \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py\", line 789,\nin execute_xcode
\noutput = run.run(args,False,False,o)
\nFile \"/Library/Application\nSupport/Titanium/mobilesdk/osx/1.5.0/iphone/run.py\", line 31, in\nrun
\nsys.exit(rc)
\nSystemExit: 1

\n

For further detail, if one sees this behavior, there's more\ninformation in build.log (under\n<YOUR_PROJECT>/build/iphone/build/build.log.

\n

WORKAROUND:
\nFirst by deleting the files in the project's build/iphone\ndirectory, and then rebuilding, the error went away.

\n

Ralf couldn't reproduce this:
\n• a recent change (unknown at this point) may have created a\n\"build by-products\" issue (i.e. in 1.5.0 from earlier),
\n• an external developer ran into the same symptoms (see\nRalf): Titanium Developer outputs: \"builder.py [ERROR]\" (see above)

\n

IMPACT:
\nDevelopers starting from scratch, like a new (a clean Mac, fresh\ninstalls), may benefit from this workaround, but we should explored\nit more detail

\n

ISSUES
\n- Potentially renaming or moving the Titanium SDK folder doesn't\nchange the outcome, and adding spaces like 1.5.0 11_01 may worsens\nit - Adding spaces to the Titanium SDK path may reveal further bugs\nand should be tested

{html}", "attachment": [], "flagged": false, "summary": "Build issues for First Time Developers", "creator": { "name": "jtobias", "key": "jtobias", "displayName": "jtobias", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jtobias", "key": "jtobias", "displayName": "jtobias", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127954", "author": { "name": "jtobias", "key": "jtobias", "displayName": "jtobias", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thomas mentioned there is a duplicate bug in Titanium Developer\n(Ticket #74), so this ticket should be related to that\none, or put in the Titanium Developer project instead of Titanium\nMobile (per Thomas).

\n

I was able to reproduce this \"first time through\" issue acting\nas an external developer on a \"fresh Mac\" (Mac OS 10.6.4 and iOS\nSDK 4.1)

{html}", "updateAuthor": { "name": "jtobias", "key": "jtobias", "displayName": "jtobias", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:14:53.000+0000", "updated": "2011-04-15T03:14:53.000+0000" }, { "id": "207773", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Invalidating due to age (ticket affects 1.5, 1.6)", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T12:13:08.000+0000", "updated": "2012-07-16T12:13:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }