{ "id": "170443", "key": "TIMOB-25554", "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": "20014", "name": "Hyperloop 3.0.1", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-28T09:44:10.000+0000", "created": "2017-11-23T16:18:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "18247", "name": "Hyperloop 2.0.0", "archived": false, "released": true, "releaseDate": "2016-10-18" }, { "id": "19904", "description": "", "name": "Hyperloop 3.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:17.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": "Swift based Frameworks that expose an Objective-C interface generate a wrong header include when using blocks or custom classes like delegates.\r\n\r\n*Steps to reproduce the behavior*\r\n* Checkout https://github.com/appcelerator/hyperloop-examples/pull/63\r\n* Run using {{appc run -p ios -l trace}}\r\n\r\n*Actual behavior*\r\nThe build fails with the following message:\r\n{code}\r\n[TRACE] /Users/hknoechel/Documents/Apps/hyperloop-examples/build/hyperloop/ios/js/hyperloop/custom.m:13:9: fatal error: 'ImagePicker/ImagePicker.h' file not found\r\n[TRACE] #import \r\n[TRACE] ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n[TRACE] 1 error generated.\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileC build/Intermediates/Hyperloop_Sample.build/Debug-iphonesimulator/Hyperloop_Sample.build/Objects-normal/x86_64/custom.o /Users/hknoechel/Documents/Apps/hyperloop-examples/build/hyperloop/ios/js/hyperloop/custom.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\n*Expected behavior*\r\nBuild is successful and without any errors.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Wrong header include with Swift frameworks", "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": null, "comment": { "comments": [ { "id": "431227", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/264", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-23T17:42:18.000+0000", "updated": "2017-11-23T17:42:18.000+0000" }, { "id": "440101", "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:17.000+0000", "updated": "2018-08-06T17:49:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }