{ "id": "162548", "key": "TIMOB-23780", "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": "18246", "name": "Hyperloop 2.0.1", "archived": false, "released": true, "releaseDate": "2017-03-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-05T22:25:37.000+0000", "created": "2016-08-12T03:50:40.000+0000", "epic": { "id": 163902, "key": "TIMOB-24020", "name": "Hyperloop Run Script Build Phases", "summary": "Hyperloop: iOS - Support Run Script Build Phases", "color": { "key": "color_3" }, "done": false }, "priority": { "name": "Critical", "id": "1" }, "labels": [ "cocoapods", "hyperloop", "ios", "qe-hyperloop" ], "versions": [ { "id": "18231", "name": "hyperloop 1.2.5", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "issuelinks": [ { "id": "53179", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "164108", "key": "TIMOB-24057", "fields": { "summary": "Hyperloop: iOS - Adapt native CocoaPods build behavior", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "53276", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "155727", "key": "TIMOB-20565", "fields": { "summary": "Hyperloop: iOS - CocoaPods assets only found when copied into project", "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": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-01-24T00:31:38.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Some obj-c libraries require external bundles to work.\r\nGoogle VR SDK is an example: if you download it with Cocoapods (*pod 'GVRSDK'*), you get all the necessary headers + a few *.bundle* files inside *Pods//Resources*. If you try and run an app with it you'll see an error like this:\r\n\r\n{code:java}\r\n[DEBUG] 2016-08-12 10:20:38.475 loopmodules-googlevr[48694:3058797] Failed to load font: file not found at file:///Users/rodolfo/Library/Developer/CoreSimulator/Devices/72A6BC5A-112B-4499-909B-4BECED0F1262/data/Containers/Bundle/Application/68A6B27F-6964-4991-AAFF-9B09CF6592AC/loopmodules-googlevr.app/MaterialRobotoFontLoader.bundle/Roboto-Medium.ttf\r\n{code}\r\n\r\nI've opened the location above and couldn't see any of the Bundles there.\r\n\r\n*How to solve the issue:*\r\nManually copying the *.bundle* files to the */app/assets* folder solve this issue.\r\nIt would be nice if those bundles were automatically copied to the app to prevent these issues.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Build should copy Cocoapods-provided Bundles into the app.", "creator": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "subtasks": [], "reporter": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "environment": "Cocoapods 0.39.0\r\nHyperLoop 1.2.5\r\nTi SDK 5.4.0.GA", "closedSprints": [ { "id": 751, "state": "closed", "name": "2016 Sprint 23 Tooling", "startDate": "2016-11-05T00:40:36.428Z", "endDate": "2016-11-19T01:40:00.000Z", "completeDate": "2016-11-28T03:51:25.291Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "393190", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue on:\r\n\r\nAppc CLI NPM: 4.2.7\r\nAppc CLI Core: 5.4.0\r\nArrow: 1.8.2\r\nSDK: 5.4.0.GA\r\nNode: v4.4.7\r\nCocoapods: 1.0.1\r\nOS: Mac OS X (10.11.6)\r\nXcode: 7.3.1\r\nDevice: iphone 6 plus (9.3.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-15T17:47:10.000+0000", "updated": "2016-08-15T17:47:10.000+0000" }, { "id": "397167", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~rdperottoni] Are CocoaPods assets always in {{Pods//Resources}} ?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-24T19:39:17.000+0000", "updated": "2016-09-24T19:39:17.000+0000" }, { "id": "397188", "author": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "body": "I can't guarantee that all of them work this way... I'd be shooting my own foot", "updateAuthor": { "name": "rdperottoni", "key": "rdperottoni", "displayName": "Rodolfo Perottoni", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2016-09-25T20:40:00.000+0000", "updated": "2016-09-25T20:40:00.000+0000" }, { "id": "397189", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I checked it. Pods can define the resources directors in their podspec file which would need to be checked for that.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-25T20:52:40.000+0000", "updated": "2016-09-25T20:52:40.000+0000" }, { "id": "400134", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/hyperloop.next/pull/98\r\nPR (2_0_X): https://github.com/appcelerator/hyperloop.next/pull/100", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-31T22:55:11.000+0000", "updated": "2016-10-31T22:55:11.000+0000" }, { "id": "404162", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (2_0_X): https://github.com/appcelerator/hyperloop.next/pull/113\r\n\r\nThe original PR for the 2_0_X branch contains a bug with a wrong variable name. The above PR fixes this bug.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-05T20:27:35.000+0000", "updated": "2017-01-05T20:27:35.000+0000" }, { "id": "404178", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Patch approved & merged! Please also update the Releases tab for QE, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-05T22:26:02.000+0000", "updated": "2017-01-05T22:26:02.000+0000" }, { "id": "404212", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[2.0.1 Beta|https://github.com/appcelerator/hyperloop.next/releases/tag/2.0.1-beta] release updated on Github!", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-06T12:29:21.000+0000", "updated": "2017-01-06T12:29:21.000+0000" }, { "id": "405123", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, {{Bundles}} are now copied into the built application.\r\n\r\n*App.js*\r\n{noformat}\r\nvar CGRectZero = require('CoreGraphics').CGRectZero;\r\nvar GVRCardboardView = require('GVRSDK/GVRCardboardView');\r\nvar cardboardView = GVRCardboardView.alloc().initWithFrame(CGRectZero);\r\n{noformat}\r\n\r\n*Podfile*\r\n{noformat}\r\ninstall! 'cocoapods',\r\n :integrate_targets => false\r\n\r\nplatform :ios, '7.0'\r\ntarget 'timob23780' do\r\n pod 'GVRSDK'\r\nend\r\n\r\n{noformat}\r\n\r\n\r\n*Tested on:*\r\n{noformat}\r\nmacOS Sierra 10.12.2\r\niPhone 6 \r\niOS simulator (10.2, 10.0)\r\nTi SDK: 6.1.0.v20170123141052\r\nHyperloop: 2.0.1\r\nAppc CLI: 6.1.0\r\nAppc NPM: 4.2.8\r\nNode v4.6.0\r\nCocoaPods 1.0.1\r\n{noformat}\r\n\r\n*Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2017-01-24T00:31:17.000+0000", "updated": "2017-01-24T00:31:17.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }