{ "id": "85714", "key": "TIMOB-7480", "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": [ { "id": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:29:04.000+0000", "created": "2012-01-30T16:28:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_build", "qe-ios012312", "qe-testadded" ], "versions": [ { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-14T23:29:04.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": "Description:\r\nWHile testing packaging with our pre-created Studio projects, I noticed that the first attempt to package failed with an error. This occurred regardless of using \"project clean\". The second attempt was successful and all further attempts. THis could be related to the test projects being put in the GIT repo with no \"build\" folder.\r\n\r\nStudio error log:\r\n\r\nTraceback (most recent call last):\r\n File \"/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py\", line 1523, in \r\n main(sys.argv)\r\n File \"/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/builder.py\", line 661, in main\r\n iphone_creator.create(iphone_dir,True)\r\n File \"/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/iphone.py\", line 46, in create\r\n tiapp = TiAppXML(os.path.join(project_dir,'tiapp.xml'))\r\n File \"/Users/eric/Library/Application Support/Titanium/mobilesdk/osx/1.8.0.1/iphone/../tiapp.py\", line 52, in __init__\r\n data = codecs.open(self.file,'r','utf-8','replace')\r\n File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py\", line 881, in open\r\n file = __builtin__.open(filename, mode, buffering)\r\nIOError: [Errno 2] No such file or directory: u'/Users/eric/iconTestUniversal copy/build/iphone/tiapp.xml'\r\n\r\nSteps to reproduce:\r\n1) Clone git repo: \"titanum_mobile_tests_internal\"\r\n2) Import project \"feature test/Packaging/IconTestUniversal\"\r\n3) Attempt to package for distribution (ad-hoc or distribution)\r\n\r\nResult:\r\nPackaging failure\r\n\r\nExpected:\r\nPackaging succeeds without error\r\n\r\nNotes:\r\nOccurs in 1.8.0.1 with the same Project.\r\nDoes not occur with default project created with Studio\r\nDid not occur with KS sample imported into studio\r\n\r\nWorkaround:\r\nAttempt to package again. The first attempt fixes the problem, and the second attempt succeeds.", "attachment": [], "flagged": false, "summary": "iOS: packaging - First attempt to package for distribution with some projects results in error", "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": "OS: Mac OS 10.6.8 & 10.7.2\r\nTitanium Studio, build: 1.0.8.201201262211\r\nSDK: 1.8.1.v20120127173134", "comment": { "comments": [ { "id": "182051", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with project with no build folder present using SDK 1.9.0.v20120206101634 using both Ad-hoc and regular distribution provisioning.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-06T11:21:33.000+0000", "updated": "2012-02-06T11:21:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }