{ "id": "164628", "key": "TIMOB-24160", "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" }, { "id": "18429", "description": "", "name": "Hyperloop 2.2.0", "archived": false, "released": true, "releaseDate": "2017-10-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-21T19:51:32.000+0000", "created": "2016-11-21T12:25:47.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "cocoapods", "hyperloop", "qe-hyperloop" ], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-01-06T17:52:09.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" } ], "description": "In TIMOB-24057 the output directory for built CocoaPods products was changed. This introduced a regression with sequential builds. The {{build.ios.removeFiles}} hook deletes files from the iOS build directory that were not previously unmarked with {{unmarkBuildDirFile}}. The CocoaPods libraries need to be explicitly unmarked so they won't get deleted during this hook.\r\n\r\n*Steps to reproduce the behavior*\r\n1. Create a new Hyperloop enabled project or use the hyperloop-examples project\r\n2. Make sure the build dir is clean by either deleting it or running {{appc ti clean}}\r\n3. Build the project with {{appc run -p ios}}\r\n4. Re-run the build again\r\n\r\n*Expected behavior*\r\nAble to successfully run subsequent builds\r\n\r\n*Actual behavior*\r\nThe build fails due to missing libraries during linking\r\n{code}\r\n[TRACE] ld: library not found for -lGLCalendarView\r\n[TRACE] clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] Ld build/Products/Debug-iphonesimulator/Hyperloop_Sample.app/Hyperloop_Sample normal x86_64\r\n[ERROR] (1 failure)\r\n{code}", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Exclude CocoaPods products from being removed", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": "appc-cli 6.0.0\r\nHyperloop: 2.0.1-beta1 & 2.1.1-beta1", "comment": { "comments": [ { "id": "401617", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/hyperloop.next/pull/102\r\nPR (2_0_X): https://github.com/appcelerator/hyperloop.next/pull/103", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-21T13:25:17.000+0000", "updated": "2016-11-21T13:25:17.000+0000" }, { "id": "401642", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR's merged. Please update the Beta-releases on the Github page accordingly. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-21T19:52:23.000+0000", "updated": "2016-11-21T19:52:23.000+0000" }, { "id": "404220", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Subsequential builds are now successful.\r\nTested on:\r\n\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.v20170104172642\r\nHyperloop: 2.0.1\r\nAppc CLI: 6.1.0\r\nAppc NPM: 4.2.8\r\nNode v4.6.0\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-06T17:51:49.000+0000", "updated": "2017-01-06T17:51:49.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }