{ "id": "170096", "key": "TIMOB-25432", "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": "19951", "name": "Hyperloop 2.2.1", "archived": false, "released": true, "releaseDate": "2017-10-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-25T16:03:42.000+0000", "created": "2017-10-24T07:55:20.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-25T21:36:34.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": "From the community (opening just in case):\r\n{code}\r\n[ERROR] Cannot find class with name: SFSpeechRecognizer\r\n[ERROR] Script Error {\r\n[ERROR] column = 32;\r\n[ERROR] description = “Cannot find class with name: SFSpeechRecognizer”;\r\n[ERROR] line = 138;\r\n[ERROR] message = “Cannot find class with name: SFSpeechRecognizer”;\r\n[ERROR] name = ClassNotFound;\r\n{code}\r\nTry it out with the [Ti.Speech|https://github.com/hyperloop-modules/ti.speech] project.\r\n\r\n*EDIT*: It seems to works when the class is not instantiated in {{app/lib}} but in {{app/controllers/index.js}}, so probably our metabase cannt find declarations anymore when placed in app/lib.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Cannot find class with name: SFSpeechRecognizer when placed in app/lib", "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": "Hyperloop 2.2.1", "comment": { "comments": [ { "id": "429522", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Testing-steps already:\r\n* Clone the ti.speech sample-project [here|https://github.com/hyperloop-modules/ti.speech]\r\n* Confirm it does not work with Hyperloop 2.2.0\r\n* Switch to Hyperloop 2.2.1 and confirm it does work", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-24T21:06:42.000+0000", "updated": "2017-10-24T21:06:42.000+0000" }, { "id": "429524", "author": { "name": "steven.m.house", "key": "steven.m.house", "displayName": "steven.m.house", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed. Here's the nativeStack portion of the error below the error Hans linked:\r\n\r\n\r\n{code}\r\n[ERROR] nativeStack = \"1 libobjc.A.dylib 0x000000010e59ff41 objc_exception_throw + 48\\n2 ios9SpeechTest 0x0000000106f2df62 -[HyperloopClass initWithClassName:alloc:init:args:] + 386\\n3 ios9SpeechTest 0x0000000106f20238 NewProxy + 1416\\n4 JavaScriptCore 0x000000010777b4e5 _ZN3JSC19APICallbackFunction4callINS_18JSCallbackFunctionEEExPNS_9ExecStateE + 501\\n5 JavaScriptCore 0x000000010788ad01 _ZN3JSC5LLInt9setUpCallEPNS_9ExecStateEPNS_11InstructionENS_22CodeSpecializationKindENS_7JSValueEPNS_17LLIntCallLinkInfoE + 577\\n6 JavaScriptCore 0x0000000107893f7d llint_entry + 27269\\n7 JavaScriptCore 0x0000000107893f8b llint_entry + 27283\\n8 JavaScriptCore 0x00000001078942c6 llint_entry + 28110\\n9 JavaScriptCore 0x0000000107893f8b llint_entry + 27283\\n10 JavaScriptCore 0x0000000107893f8b llint_entry + 27283\\n11 JavaScriptCore 0x00000001078942c6 llint_entry + 28110\\n12 JavaScriptCore 0x0000000107893f8b llint_entry + 27283\\n13 JavaScriptCore 0x000000010788d310 vmEntryToJavaScript + 304\\n14 JavaScriptCore 0x000000010771e2ef _ZN3JSC7JITCode7executeEPNS_2VMEPNS_14ProtoCallFrameE + 127\\n15 JavaScriptCore 0x00000001076e45b3 _ZN3JSC11Interpreter14executeProgramERKNS_10SourceCodeEPNS_9ExecStateEPNS_8JSObjectE + 13075\\n16 JavaScriptCore 0x000000010743213f _ZN3JSC8evaluateEPNS_9ExecStateERKNS_10SourceCodeENS_7JSValueERN3WTF8NakedPtrINS_9ExceptionEEE + 303\\n17 JavaScriptCore 0x00000001077795d0 JSEvaluateScript + 432\\n18 ios9SpeechTest 0x0000000106c4af61 -[KrollBridge evalFileOnThread:context:] + 1281\\n19 ios9SpeechTest 0x0000000106c50ccc -[KrollInvocation invoke:] + 124\\n20 ios9SpeechTest 0x0000000106c5219f -[KrollContext invoke:] + 159\\n21 ios9SpeechTest 0x0000000106c52535 -[KrollContext invokeOnThread:method:withObject:callback:selector:] + 165\\n22 ios9SpeechTest 0x0000000106c4b0d3 -[KrollBridge evalFile:callback:selector:] + 115\\n23 ios9SpeechTest 0x0000000106c4bf02 -[KrollBridge didStartNewContext:] + 2498\\n24 ios9SpeechTest 0x0000000106c52e0b -[KrollContext main] + 1819\\n25 ios9SpeechTest 0x0000000106c51f76 __21-[KrollContext start]_block_invoke + 38\\n26 libdispatch.dylib 0x00000001103e3273 _dispatch_call_block_and_release + 12\\n27 libdispatch.dylib 0x00000001103e42b5 _dispatch_client_callout + 8\\n28 libdispatch.dylib 0x00000001103ee496 _dispatch_main_queue_callback_4CF + 1260\\n29 CoreFoundation 0x000000010f1c7ef9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\\n30 CoreFoundation 0x000000010f18c662 __CFRunLoopRun + 2402\\n31 CoreFoundation 0x000000010f18ba89 CFRunLoopRunSpecific + 409\\n32 GraphicsServices 0x00000001119b79c6 GSEventRunModal + 62\\n33 UIKit 0x00000001093dcd30 UIApplicationMain + 159\\n34 ios9SpeechTest 0x0000000106c375b4 main + 100\\n35 libdyld.dylib 0x0000000110458d81 start + 1\\n36 ??? 0x0000000000000001 0x0 + 1\";\r\n[ERROR] sourceURL = \"file:///Users/house/Library/Developer/CoreSimulator/Devices/6B7A05A1-D178-4CF4-9C55-D7F9202A9A53/data/Containers/Bundle/Application/7C2CAEF6-4E0B-41B3-B742-165059697978/ios9SpeechTest.app/hyperloop/speech/sfspeechrecognizer.js\";\r\n[ERROR] } \r\n{code}\r\n\r\n", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-24T21:11:38.000+0000", "updated": "2017-10-25T10:45:51.000+0000" }, { "id": "429527", "author": { "name": "steven.m.house", "key": "steven.m.house", "displayName": "steven.m.house", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closely related but separate ticket about same codebase but different HyperLoop and iOS version: TIMOB-25440", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-24T21:29:49.000+0000", "updated": "2017-10-25T10:46:20.000+0000" }, { "id": "429566", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/hyperloop.next/pull/250\r\nPR (2_2_X): https://github.com/appcelerator/hyperloop.next/pull/251", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-25T15:45:16.000+0000", "updated": "2017-10-25T15:45:16.000+0000" }, { "id": "429600", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified with Hyperloop 2.2.1beta2. Ti.Speech module no longer throws the error. Tested with the provided module's example project as well as several test projects I have that contain various modules.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-10-25T21:36:34.000+0000", "updated": "2017-10-25T21:36:34.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }