{ "id": "170040", "key": "TIMOB-25402", "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": "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": "2017-10-17T21:16:00.000+0000", "created": "2017-10-17T11:36:52.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-10-19T18:19:48.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": "Configuring third-party sources in appc.js causes the FRAMEWORK_SEARCH_PATHS build setting to be overwritten without inheriting other paths. Also pulling in additional system frameworks via the {{frameworks}} setting in {{appc.js}} doesn't work anymore. This is a regression to Hyperloop 2.1.3.\r\n\r\n*Steps to reproduce the issue*\r\n# Follow the instructions in TIMOB-25393 by placing the Contentful SDK inside the hyperloop-examples project and make sure to select a SDK build that already includes the fix from that ticket\r\n# Add the following system frameworks to the {{frameworks}} configuration option in {{appc.js}}\r\n#* SystemConfiguration\r\n#* MobileCoreServices\r\n#* CoreData\r\n# Add the following sample code to {{app/controllers/index.js}}\r\n{code}\r\nvar CDAClient = require('ContentfulDeliveryAPI/CDAClient');\r\nvar client = CDAClient.alloc().initWithSpaceKeyAccessToken('foo', 'bar');\r\n{code}\r\n# Build and run the hyperloop-examples application\r\n\r\n*Actual behavior*\r\nThe build fails with the following linker error due to not linking against CoreData framework:\r\n{code}\r\n[TRACE] Undefined symbols for architecture x86_64:\r\n[TRACE] \"_OBJC_CLASS_$_NSManagedObject\", referenced from:\r\n[TRACE] _OBJC_CLASS_$_CDALocalizablePersistedEntry in ContentfulDeliveryAPI(CDALocalizablePersistedEntry.o)\r\n[TRACE] \"_OBJC_METACLASS_$_NSManagedObject\", referenced from:\r\n[TRACE] _OBJC_METACLASS_$_CDALocalizablePersistedEntry in ContentfulDeliveryAPI(CDALocalizablePersistedEntry.o)\r\n[TRACE] ld: symbol(s) not found for architecture x86_64\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}\r\n\r\n*Expected behavior*\r\nThe build links against the specified system frameworks and is successful. The app loads without a crash.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Framework handling regressions", "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": "TiSDK 6.2.2.GA\r\nHyperloop 2.2.0 RC3", "comment": { "comments": [ { "id": "429193", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/hyperloop.next/pull/233\r\nPR (2_2_X): https://github.com/appcelerator/hyperloop.next/pull/234", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-17T16:33:29.000+0000", "updated": "2017-10-17T16:33:29.000+0000" }, { "id": "429302", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified. Configured a project to use third party frameworks and as described in the ticket. Both configurations were able to build and run without error.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-10-19T18:19:48.000+0000", "updated": "2017-10-19T18:19:48.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }