{ "id": "170041", "key": "TIMOB-25403", "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-18T15:48:17.000+0000", "created": "2017-10-17T12:01:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "18429", "description": "", "name": "Hyperloop 2.2.0", "archived": false, "released": true, "releaseDate": "2017-10-16" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-10-19T20:46:04.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": "*Steps to reproduce the behavior*\r\n# Create a new app, download the Contentful SDK from http://static.contentful.com/downloads/iOS/ContentfulDeliveryAPI-1.10.4.zip and place it under {{app/platform/ios}}\r\n# Add the following sample code to your app\r\n{code}\r\nvar CDAClient = require('ContentfulDeliveryAPI/CDAClient');\r\nvar client = CDAClient.cast(CDAClient.alloc().initWithSpaceKeyAccessToken('foo', 'bar'));\r\nclient.fetchAssetWithIdentifierSuccessFailure('key', function(response, entry) {\r\n\tTi.API.debug(entry.fields);\r\n}, function(response, error) {\r\n\tTi.API.debug(error.localizedDescription);\r\n});\r\n{code}\r\n# Build and run your app\r\n\r\n*Actual behavior*\r\nThe build fails with the following error message:\r\n{code}\r\nCouldn't find block with signature: void (^)(CDAResponse *, CDAAsset *) for framework: ContentfulDeliveryAPI\r\n{code}\r\n\r\n*Expected behavior*\r\nThe build should be successful and the app should run without problems. You should see a debug message {{The access token you sent could not be found or is invalid.}}, indicating that the error block was successfully called.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Can't find blocks from typedefs", "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": "429224", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/237", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-18T06:50:39.000+0000", "updated": "2017-10-18T06:50:39.000+0000" }, { "id": "429304", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Node Version: 6.11.4\r\nNPM Version: 3.10.10\r\nMac OS: 10.13\r\nAppc CLI: 6.3.0-master.15\r\nAppc CLI NPM: 4.2.10-2\r\nTitanium SDK version: 6.3.0 RC\r\nAppcelerator Studio vers 4.10.0\r\nHyperloop 2.2.0 RC 5\r\niOS 11.0 on iPhone 7 Plus\r\nXcode 9.0\r\n\r\nValidated the fix. No errors were seen. Additionally, when I launched the app, I saw the expected debug message.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-19T20:45:54.000+0000", "updated": "2017-10-19T20:45:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }