{ "id": "151235", "key": "TIMOB-19534", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-11T22:50:54.000+0000", "created": "2015-09-17T04:36:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-12-11T22:50:54.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": "Customer try to develop a native module, but there is no way add .bundles file into module.\r\n\r\nTried add to asset folder and platform folder in module, but after package module into a mobile project, the .bundles file does not work well. \r\n\r\nSo is there a way to add .bundles file into native module.", "attachment": [], "flagged": false, "summary": "How to include the .bundles on a native module", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "comment": { "comments": [ { "id": "367266", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Ok so static libs cannot contain bundle files, so putting that .bundles in the Xcode project is out of the question. \r\nThe best alternative i can think of is, create a framework instead. Put the contents of the bundle file (it's really a folder of files) into a framework and put it in the platform directory.\r\nAfter which you need to edit *module.xcconfig* to have \r\n{code}\r\nOTHER_LDFLAGS= -framework \r\n{code}\r\nand of course, in your Xcode project reference to the framework to access those bundle files.\r\n\r\nOne example you can look at is our Facebook module :)", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-20T06:48:56.000+0000", "updated": "2015-10-20T06:48:56.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }