{ "id": "171227", "key": "TIMOB-25829", "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": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" }, { "id": "20111", "name": "Hyperloop 3.0.3", "archived": false, "released": true, "releaseDate": "2018-03-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-03-06T19:31:59.000+0000", "created": "2018-03-01T21:56:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20004", "name": "Hyperloop 2.2.3", "archived": false, "released": true }, { "id": "20014", "name": "Hyperloop 3.0.1", "archived": false, "released": true } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:23.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" } ], "description": "There are [reports|https://github.com/appcelerator/hyperloop-examples/issues/75] that Hyperloop does not work with CocoaPods 1.4.0. We should investigate it and add support for the new version. \r\n\r\n[CocoaPods 1.4.0 Change Log|http://blog.cocoapods.org/CocoaPods-1.4.0/]", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - CocoaPods 1.4.0 breaks metabase generation", "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, "closedSprints": [ { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "435091", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ok, so it seems like they changed the {{$PODS_CONFIGURATION_BUILD_DIR}} statement to {{$\\{PODS_CONFIGURATION_BUILD_DIR\\}}} which then falls through our detection engine. I'll add a fix that uses the old one for CP < 1.4.0 and the new one for 1.4.0+.\r\n\r\nWorkarounds:\r\n# Downgrade to CocoaPods until Hyperloop 3.0.3 is released: \r\n{code}\r\nsudo gem install -v 1.3.1\r\nsudo gem uninstall -v 1.4.0\r\n{code}\r\n# Patch your local Hyperloop 3.0.2 version (in {{/modules/iphone/hyperloop/3.0.2/hooks/node_modules/hyperloop-metabase/lib/metabase.js}}, line 722:\r\nReplace:\r\n{code}\r\nframeworkSearchPath = frameworkSearchPath.replace('$PODS_CONFIGURATION_BUILD_DIR', cocoaPodsConfigurationBuildDir);\r\n{code}\r\nwith\r\n{code:js}\r\nframeworkSearchPath = frameworkSearchPath.replace('${PODS_CONFIGURATION_BUILD_DIR}', cocoaPodsConfigurationBuildDir);\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-02T09:24:32.000+0000", "updated": "2018-03-02T09:39:31.000+0000" }, { "id": "435118", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/hyperloop.next/pull/274\r\nPR (3_0_X): https://github.com/appcelerator/hyperloop.next/pull/275\r\n\r\nTesting instructions:\r\n* Install CocoaPods 1.4.0 ({{sudo gem install cocoapods}})\r\n* Run the [hyperloop-examples|https://github.com/appcelerator/hyperloop-examples] app\r\n* See that the app does not work due to missing generated stubs\r\n* Apply the fix\r\n* Re-test with CocoaPods 1.4.0\r\n* Ensure that it works again\r\n* Downgrade to CocoaPods 1.3.1 ({{sudo gem uninstall cocoapods -v 1.4.0}}, {{sudo gem install cocoapods -v 1.3.1}})\r\n* Ensure that it still works", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-02T17:35:02.000+0000", "updated": "2018-03-02T17:42:00.000+0000" }, { "id": "435169", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "3.0.3 module: [Download here|https://github.com/appcelerator-modules/hyperloop-builds/releases/tag/v3.0.3-beta.1]", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-04T20:09:35.000+0000", "updated": "2018-03-04T20:09:35.000+0000" }, { "id": "435251", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "titanium_mobile/master: https://github.com/appcelerator/titanium_mobile/pull/9911\r\ntitanium_mobile/7_1_X: https://github.com/appcelerator/titanium_mobile/pull/9912", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-03-06T19:12:44.000+0000", "updated": "2018-03-06T19:12:44.000+0000" }, { "id": "440146", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:23.000+0000", "updated": "2018-08-06T17:49:23.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }