{ "id": "102050", "key": "TIMOB-11306", "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": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14169", "description": "2012 Sprint 22 Core", "name": "2012 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-30T23:59:25.000+0000", "created": "2012-09-26T10:57:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-port" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "22298", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "103907", "key": "TIMOB-11582", "fields": { "summary": "iOS: compiler.py does not ignore .svn dirs", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22297", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "100761", "key": "TIMOB-10865", "fields": { "summary": "iOS: builder.py adhoc build is broken", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-01T21:42:20.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": "h6.Problem\r\nTitanium does not exclude subversion directories and files when generating .IPA file. \r\n\r\nh6.Actual result\r\nThis increased the file size already from 77MB to 127MB, even more increase at every new build.\r\n\r\nh6.Screenshot\r\nShows an IPA file generated. Above with 2.0.2.GA, below with 2.1.3.GA.\r\n\r\n_Is noticeable after publishing a project with Studio, a .svn subdirectory is being created with 2.1.3.GA release only._\r\n\r\nh6.Steps to reproduce\r\n1. Set 2.0.2.GA SDK into tiapp.xml\r\n2. Right click on Studio Project, \"Publish\"\r\n3. Select distribution method, \"Distribute - Ad Hoc/Enterprise\" for instance\r\n4. Perform steps 1, 2 and 3 with 2.1.3.GA. \r\n5. Unzip, compare IPA generated files upon distribution.\r\n\r\n_Results may vary according the project files size_", "attachment": [ { "id": "32427", "filename": "UnzippedFolders.jpg", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T00:01:26.000+0000", "size": 125336, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "iOS: Subversion directories and files present in .IPA", "creator": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Mobile 2.0.2.GA & 2.1.3.GA\r\niPhone SDK version: 5.1", "comment": { "comments": [ { "id": "221141", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Have you tried generating the .IPA file through the Xcode project? Then can you post the app size in comparison to creating it through Titanium? Thanks.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:10:49.000+0000", "updated": "2012-09-26T23:10:49.000+0000" }, { "id": "222640", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Raymond Verbruggen Where should exactly \"SVN directories and files\" be when generating .IPA file? Can you give insight in regards with?\n\nAlso, what is the current Titanium SDK that you built it? And state what is your current iOS version to dig into this.\n", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T23:02:07.000+0000", "updated": "2012-10-08T23:02:07.000+0000" }, { "id": "222642", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "h6.Associated Community thread\r\nhttp://developer.appcelerator.com/question/91901/over-20mb-filesize\r\n\r\nEdit: Could see a .svn directory generated in 2.1.3.GA. Added the repro steps and background info. ", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T23:08:31.000+0000", "updated": "2012-10-09T00:02:33.000+0000" }, { "id": "222685", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "The svn directories are used by the Subversion system for administration purposes. When generating the IPA file they must remain where they are, because otherwise this administration is lost.\r\nIn other words, these files have to be excluded from the IPA file.\r\n\r\nSDK versions 2.1.2 and 2.1.3 are currently used, the behaviour is the same.\r\n\r\nI have not used Xcode for generating of the IPA file (wouldn't know how to do that, maybe a workaround?)\r\nThis is an urgent problem for me, the IPA is now 140M; generated from a directory without SVN files it is around 80MB.\r\n", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-09T05:58:29.000+0000", "updated": "2012-10-09T05:58:29.000+0000" }, { "id": "223554", "author": { "name": "mihai.bojin", "key": "mihai.bojin", "displayName": "Mihai Bojin", "active": true, "timeZone": "Europe/London" }, "body": "Simple fix for this is to add the following code in builder.py at line 1217 (method execute_xcode, after output = run.run(args,False,False,o)\r\n\r\n# remove .svn files from build dir\r\nos.system(\"find -d \\\"%s\\\" -name \\\".svn\\\" -exec rm -r '{}' \\;\" % build_dir)\r\n\r\nIt looks like xcodebuild is actually pulling the .svn directories into the build. I haven't had enough time to figure out why this is happening, but this is a quick fix for the problem.", "updateAuthor": { "name": "mihai.bojin", "key": "mihai.bojin", "displayName": "Mihai Bojin", "active": true, "timeZone": "Europe/London" }, "created": "2012-10-15T16:31:16.000+0000", "updated": "2012-10-15T16:31:16.000+0000" }, { "id": "223765", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "At 1231 in builder.ph\r\n\r\n\toutput = run.run(args,False,False,o)\r\n\r\n\t# RV added start\r\n\t# remove .svn files from build dir\r\n\tos.system(\"find -d \\\"%s\\\" -name \\\".svn\\\" -exec rm -r '{}' \\;\" % build_dir)\r\n\t# RV added end\r\n\r\nHowever;\r\nThis doesn't work, a lot of errors and no IPA is generated.\r\n\r\n[INFO] Performing clean build\r\n[INFO] Compiling localization files\r\n[DEBUG] compiled ios file: /Users/raymond/Documents/Titanium Studio Workspace/sprookjes/build/iphone/build/Debug-iphoneos/Sprookjes.app/en.lproj/Localizable.strings\r\n[DEBUG] compiled ios file: /Users/raymond/Documents/Titanium Studio Workspace/sprookjes/build/iphone/build/Debug-iphoneos/Sprookjes.app/nl.lproj/Localizable.strings\r\n[INFO] Installing application in iTunes ... one moment\r\n[DEBUG] executing command: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication /Users/raymond/Documents/Titanium Studio Workspace/sprookjes/build/iphone/build/Debug-iphoneos/Sprookjes.app\r\n[DEBUG] error: Codesign check fails : /var/folders/cz/2mc0s7r559z94g3lypnr6tr00000gn/T/wsmMM6cH7V/Payload/Sprookjes.app: a sealed resource is missing or invalid\r\n[DEBUG] In architecture: armv6\r\n[DEBUG] resource missing: /private/var/folders/cz/2mc0s7r559z94g3lypnr6tr00000gn/T/wsmMM6cH7V/Payload/Sprookjes.app/animation/scene19/.svn/text-base/scene19.jpg.svn-base\r\n[DEBUG] resource missing: /private/var/folders/cz/2mc0s7r559z94g3lypnr6tr00000gn/T/wsmMM6cH7V/Payload/Sprookjes.app/.svn/text-base/KS_nav_ui.png.svn-base\r\n[DEBUG] resource missing: /private/var/folders/cz/2mc0s7r559z94g3lypnr6tr00000gn/T/wsmMM6cH7V/Payload/Sprookjes.app/images/.svn/text-base/bg2@2x.jpg.svn-base\r\n[DEBUG] resource missing: /private/var/folders/cz/2mc0s7r559z94g3lypnr6tr00000gn/T/wsmMM6cH7V/P\r\n\r\netc etc etc", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T12:37:00.000+0000", "updated": "2012-10-16T12:37:00.000+0000" }, { "id": "225153", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3337", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-26T19:28:15.000+0000", "updated": "2012-10-26T19:28:15.000+0000" }, { "id": "225154", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Already fixed for 2.1.4", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-26T19:29:08.000+0000", "updated": "2012-10-26T19:29:08.000+0000" }, { "id": "225625", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3367", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-31T00:06:34.000+0000", "updated": "2012-10-31T00:06:34.000+0000" }, { "id": "225881", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.1.4.v20121030173408", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-01T21:42:20.000+0000", "updated": "2012-11-01T21:42:20.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }