1

As the iSpeechSDK is written for Objective-C, I tried to import it in my existing iOS project using a bridging-header. I've copied all the associated headers and frameworks. However, I'm still unable to call the Objective-C class. See the attached screenshot. Let me know how I can resolve this issue.

enter image description here

mechdon
  • 517
  • 1
  • 10
  • 23

2 Answers2

1

I finally got it to work by following Renan Kosicki's answer in https://stackoverflow.com/a/24293717/4275096. My header file wasn't created at the correct location.

Community
  • 1
  • 1
mechdon
  • 517
  • 1
  • 10
  • 23
0

This was actually an error as a result of a circular reference. You should have to import a class in your view controller , and that classes header file was importing the swift header

In your viewcontrollor.swift :

import iSpeechSDk
import .... // Add your class 

Hope this helps !!

Mayank Patel
  • 3,868
  • 10
  • 36
  • 59