{ "id": "83799", "key": "TIMOB-7356", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-04-12T15:36:54.000+0000", "created": "2011-12-14T09:54:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios012312" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [ { "id": "16547", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "89584", "key": "TIMOB-8605", "fields": { "summary": "iOS: Simulator: projects without build folders fail to deploy on first run with 'detected missing project' output", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14741", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85377", "key": "TISTUD-1060", "fields": { "summary": "Studio: RSS reader sample has no iphone folder in the project build folder, causing failure on first build attempt", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:47.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": "10207", "name": "Tooling" } ], "description": "While using Studio 1.0.7 we started noticing the occasional first attempt to build iOS projects failing and the following text in console:\r\n[INFO] One moment, building ...\r\n[INFO] Detected missing project but that's OK. re-creating it...\r\n\r\nThis condition is caused by a lack of a build/iphone folder in the project which prompts the message from builder.py. The missing folder is created, and the second attempt should rebuild. We have not seen this error prior to 1.0.7. The only way I have been able to reproduce this situation so far is by importing a project and trying to build. This project presumably had no build/iphone directory\r\n\r\nbuilder.py snippet starting at line 655:\r\n{code}\r\n# starting in 1.4, you don't need to actually keep the build/iphone directory\r\n# if we don't find it, we'll just simply re-generate it\r\nif not os.path.exists(iphone_dir):\r\n\tfrom iphone import IPhone\r\n\tprint \"[INFO] Detected missing project but that's OK. re-creating it...\"\r\n\tiphone_creator = IPhone(name,appid)\r\n\tiphone_creator.create(iphone_dir,True)\r\n\tsys.stdout.flush()\r\n{code}\r\n\r\nSteps to reproduce:\r\n1) Import a project into Studio with no build/iPhone folder\r\n2) Attempt to run in simulator\r\n\r\nResult:\r\nBuild fails with error in the console\r\n\r\nExpected:\r\nIf missing a folder, make it and build", "attachment": [ { "id": "24653", "filename": "log.rtf", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T09:54:09.000+0000", "size": 14949, "mimeType": "text/rtf" } ], "flagged": false, "summary": "iOS: build.py - Console error and no build on first attempt when importing clean iOS project with no iphone folder in project/build/", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.0.1.v20111212014614\r\nMac OS 10.7.2\r\nTitanium Studio, build: 1.0.7.201112080131", "comment": { "comments": [ { "id": "176053", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Eric, does this happen with SDK 1.7.x?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T10:03:49.000+0000", "updated": "2011-12-14T10:03:49.000+0000" }, { "id": "176056", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "as discussed, please check if this is an sdk issue, and if it is move it to timob. thanks!", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-14T10:14:49.000+0000", "updated": "2011-12-14T10:14:49.000+0000" }, { "id": "178799", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This occurs when using SDK 1.7.5 as well. ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T17:00:05.000+0000", "updated": "2012-01-10T17:00:05.000+0000" }, { "id": "178800", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If not possible to rebuild after recreating the folder, perhaps we should move this to tooling to allow for more robust error reporting.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-10T17:01:46.000+0000", "updated": "2012-01-10T17:01:46.000+0000" }, { "id": "180451", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marshall, this bug has been moved from TISTUD, and the auto-assign feature left it with me. Assigning to you for relegation.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-24T12:18:34.000+0000", "updated": "2012-01-24T12:18:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }