Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24614

iOS: AVFoundation/AVSpeechSynthesizer class not found

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Hyperloop 2.2.0
    • Component/s: Hyperloop
    • Labels:
    • Environment:

      iOS 10.2
      Ti SDK 6.0.2.GA
      Xcode 8.2.1

      Description

      Hi,

      I tried to load AVSpeechSynthesizer like this in Appc titanium mobile app using hyperloop.

      var AVSpeechSynthesizer = require('AVFoundation/AVSpeechSynthesizer');

      But getting below error.

      [ERROR] : An error occurred during build after 3s 610ms

      [ERROR] : The iOS class "AVSpeechSynthesizer" could not be found in the framework "AVFoundation". (../build/iphone/build/Products/Debug-iphonesimulator/soispeech.app/testSpeech.js)

      But when I tried like this var AVSpeechSynthesizer = require('hyperloop/avfoundation/avspeechsynthesizer'); did not get any error and my code is working as I expected.

      When I am unable to load like this, where as other classes are loaded in same

      var AVSpeechSynthesizer = require('AVFoundation/AVSpeechSynthesizer');

      I am doing anything wrong or did I need to config something before I load this class in to JS file.

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              nagaharish Naga harish M
              Reviewer:
              Hans Knöchel
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10620
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code