{ "id": "79324", "key": "TIMOB-5026", "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": "12084", "description": "", "name": "Sprint 2011-44", "archived": true, "released": true, "releaseDate": "2011-11-07" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-16T18:28:20.000+0000", "created": "2011-08-16T11:29:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_build", "qe-ios021312", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "13925", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "82855", "key": "TIMOB-6220", "fields": { "summary": "iOS: Support 'platform/iphone' directory as part of build process", "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": "15253", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86637", "key": "TIMOB-7702", "fields": { "summary": "iOS: Snow Leopard: local module resources not generated in app package", "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": "14609", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85089", "key": "TIMOB-7278", "fields": { "summary": "iOS : Modules - When including a local module and running on iOS Simulator, the modules contents are copied to into the application", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-21T10:14:41.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": "When using a local module (module is installed into the application folder rather than the Titanium library folder), the entire module folder is copied into the application bundle during the build process. This increases the size of the application bundle since it could include a large library file as well as all of the assets defined in the module folder. \r\n\r\nThis does not occur when the module is installed in the Titanium library folder (/Library/Application Support/Titanium). \r\n\r\nTo reproduce, \r\n\r\n1. Install an iOS module into the application's folder by placing the module's zip file in the application folder (e.g. ti.bump-iphone-1.0.zip)\r\n2. Build the application for iOS (e.g. iPhone simulator)\r\n3. Navigate to the 'build/iphone/build/Debug-iphoneos' (or other iphoneos build type) folder for the application\r\n4. Right-click on the application package and select \"Show Package Contents\"\r\n5. You should see the module folder with all of its sub-folders", "attachment": [ { "id": "25812", "filename": "ti.bump-iphone-1.0.zip", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T18:18:18.000+0000", "size": 1121120, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Local modules are copied into the application bundle", "creator": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "163626", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Customer reported similar issue APP-373464: How to reduce app size", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2011-08-22T10:12:35.000+0000", "updated": "2011-08-22T10:12:35.000+0000" }, { "id": "175613", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with Titanium Studio, build: 1.0.7.201112080131 and SDK 1.8.0.1.v20111209102124", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T15:30:21.000+0000", "updated": "2011-12-09T15:30:21.000+0000" }, { "id": "178569", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added label: qe-testadded.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-09T14:42:26.000+0000", "updated": "2012-01-09T14:42:26.000+0000" }, { "id": "179763", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this issue;\r\n\r\nTested with Ti Studio build 1.0.8.201201171630\r\nTi Mob SDK 1.9.0.v20120113161633\r\nOSX Lion\r\niPhone 5.0 SIM\r\n\r\nI reached out to Jeff on this to confirm what is expected, and as per Jeff in /build/iphone/build/Debug-iphonesimulator/modules/// there should not be a documentation directory, example directory, libti.airprint.a file (I used the airprint module to test), etc...\r\n\r\n ", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T13:17:15.000+0000", "updated": "2012-01-18T13:17:15.000+0000" }, { "id": "179766", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This cannot be tested with simulator; the module check is only performed for device/distribution builds. Once we change simulator installs to behave \"more like\" device and packaging, that will resolve the problem for simulator.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T13:25:35.000+0000", "updated": "2012-01-18T13:25:35.000+0000" }, { "id": "179771", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this issue\r\n\r\nTested this as per Stephens comment with the same environment above except built for device and confirmed the expected behavior", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T13:54:54.000+0000", "updated": "2012-01-18T13:54:54.000+0000" }, { "id": "183487", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The bug is fixed in Snow Leopard, but I checked as far back as 1.8.0.1 in Lion and still found the bad behavior.\r\n\r\nWhen a Titanium iOS project containing a local module is built to device on Lion, a module zip exists in the iOS app package.\r\n\r\nModule Path: Titanium Studio Workspace/App/build/iphone/build/Debug-iphoneos/App.app/ti.bump-iphone-1.0.zip\r\n\r\nBug Environment:\r\n\r\nSDK: 1.8.2.v20120216154635, 1.8.1, 1.8.0.1\r\nStudio: 1.0.9.201202131024\r\nOS: Lion Only", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T17:44:25.000+0000", "updated": "2012-02-16T17:44:25.000+0000" }, { "id": "183500", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What Dustin is actually seeing here is correct; there should be the module *assets* as part of a packaged app, but not the module *binaries*. The bug is actually against Snow Lep if it doesn't have these assets packaged up as part of the adhoc/distributed app.\r\n\r\nClosing this bug as fixed, Dustin says he'll open a new bug about this behavior.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T18:27:37.000+0000", "updated": "2012-02-16T18:28:07.000+0000" }, { "id": "183504", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added TIMOB-7702.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-16T18:57:49.000+0000", "updated": "2012-02-16T18:57:49.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }