{ "id": "166592", "key": "TIMOB-24484", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-03-29T21:14:41.000+0000", "created": "2017-03-14T09:59:41.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "app-thinning", "bundle", "ios", "qe-6.1.0" ], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-04-04T16:00:12.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": "I received [some reports|https://github.com/hansemannn/ti.googlemaps/issues/83#issuecomment-286364868] from users of my Ti.GoogleMaps module that are experiencing issues when using the {{}} property together with bundle files that contain images [like here|https://github.com/hansemannn/ti.googlemaps/tree/master/ios/Resources].\r\n\r\n[The logs|https://gist.github.com/hansemannn/23922307da5a362049a0aa3edce25dc5] indicate that the bundle images are both copied to the bundle inside the app (correct) and the asset catalog (incorrect).\r\n\r\nThe build should skip bundle images for the asset catalog I guess. Native apps would skip it as well, since the images are managed by the bundle.\r\n\r\nThe fix should be done somewhere in {{copyResources}}, maybe with a regex like {{bundleFileRegExp = /.+\\.bundle($|\\n)/}} that will only add the bundle to the resources, but not the images to the asset catalog.", "attachment": [], "flagged": false, "summary": "iOS: Bundle images are copied to asset catalog when using app-thinning, causing apps to crash", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "412066", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8886\r\n\r\nTest-case: \r\n* Create a new alloy-app from\r\n* Ensure that {{}} is enabled ({{true}})\r\n* Download the latest ti.googlemaps module from [here|https://github.com/hansemannn/ti.googlemaps/releases/tag/v3.3.1]\r\n* Include it in your app ({{ti.googlemaps