{ "id": "155146", "key": "TIMOB-20473", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-02-18T18:15:00.000+0000", "created": "2016-02-25T21:20:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module", "storyboard" ], "versions": [], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-18T18:15:00.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": "Some iOS libraries use storyboard for UI. To build a module I cannot embed this storyboard – I have to add it (after compiling with studio) in xcode. It is a workaround, that doesn't work in SDK ≧ 5.0.0. because the error message appears \"cannot find app.js\".\r\n\r\nProposal: the build process looks into module folder, detects a folder named \"storyboard\" and copy the content into xcode project. ", "attachment": [ { "id": "67741", "filename": "ti.storyboard.zip", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-12-08T01:42:47.000+0000", "size": 44442, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Support storyboard in iOS-modules", "creator": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1217, "state": "closed", "name": "2021 Sprint 4", "startDate": "2021-02-16T00:52:00.000Z", "endDate": "2021-02-27T00:52:00.000Z", "completeDate": "2021-02-28T18:56:28.465Z", "originBoardId": 114 }, { "id": 1212, "state": "closed", "name": "2020 Sprint 25", "startDate": "2020-12-07T22:11:00.000Z", "endDate": "2020-12-18T22:11:00.000Z", "completeDate": "2020-12-18T16:35:34.544Z", "originBoardId": 114 }, { "id": 1213, "state": "closed", "name": "2020 Sprint 26", "startDate": "2020-12-21T16:40:00.000Z", "endDate": "2021-01-08T16:40:00.000Z", "completeDate": "2021-01-08T17:37:31.799Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "377929", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "I just ran into the same thing today. See my ticket on the source module project https://github.com/hyperlab/TiMixpanel/issues/29 Mixpanel requires storyboards to show their in-app surveys. ", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-02-25T21:26:59.000+0000", "updated": "2016-02-25T21:26:59.000+0000" }, { "id": "377931", "author": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Tim, \r\nin my case it is a ready to use banking module for money transactions and for security reasons it is not allowed to modify the lib. In my module I only wrap the create method and the result callbacks. \r\nI will look to your project.\r\n\r\nCheers!\r\n\r\nRainer", "updateAuthor": { "name": "titanium@webmasterei-hamburg.de", "key": "titanium@webmasterei-hamburg.de", "displayName": "Rainer Schleevoigt", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-25T21:31:42.000+0000", "updated": "2016-02-25T21:31:42.000+0000" }, { "id": "378094", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can you try this? Open the Xcode project in build folder.\r\n\r\n1. Don't clean in Xcode.\r\n2. Xcode->Preferences\r\n3. Locations->Derived Data->Advanced\r\n4. Select Custom->Relative to Workspace\r\n5. Done.\r\n\r\nNow go ahead to build or run. Remember, don't clean, otherwise you have to *appc run* again to build the project. And also remember to revert back this change once you are done with the Xcode project and wish to go back to do things in Titanium.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-29T01:49:22.000+0000", "updated": "2016-02-29T01:49:22.000+0000" }, { "id": "379545", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "Following the steps above, I get a \"Could not find the file app.js\" error.", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2016-03-11T18:34:49.000+0000", "updated": "2016-03-11T18:34:49.000+0000" }, { "id": "457828", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator/titanium_mobile/pull/12328\r\nTo test - \r\n1. Get attached module (ti.storyboard) which has storyboard.\r\n2. Build module.\r\n3. Create new app. Include the module in tiapp.xml.\r\n4. Replace app.js with following -\r\n\r\n{code:java}\r\nvar Stroyboard = require('com.storyboard');\r\n\r\nconst win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nconst btn = Ti.UI.createButton({\r\n title: 'Show Controller from Stroyboard'\r\n});\r\n\r\nbtn.addEventListener('click', () => {\r\n\tStroyboard.showStoryboard;\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n\r\n5. Run the app. On click of button, it will present view controller with label 'Titanium Rocks!'", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-12-08T01:48:46.000+0000", "updated": "2021-02-02T01:51:56.000+0000" }, { "id": "458264", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed\r\nWaiting for Jenkins build", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-18T18:02:43.000+0000", "updated": "2021-02-18T18:02:43.000+0000" }, { "id": "458265", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Merged to master branch", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-18T18:14:55.000+0000", "updated": "2021-02-18T18:14:55.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }