pbakondy / cordova-plugin-speechrecognition

:microphone: Cordova Plugin for Speech Recognition
MIT License
196 stars 117 forks source link

Cordova iOS build is failed #2

Closed Methos21 closed 7 years ago

Methos21 commented 7 years ago

I did try to test your plugin (i waiting for similar long time ago), but build is failed with the following error:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_SFSpeechAudioBufferRecognitionRequest", referenced from:
      objc-class-ref in SpeechRecognition.o
  "_OBJC_CLASS_$_SFSpeechRecognizer", referenced from:
      objc-class-ref in SpeechRecognition.o
ld: symbol(s) not found for architecture i386

It's a simple Phonegap project, contains only this plugin. When i remove plugin, then project files compiled fine. What solutions are possible to solve this issue?

* UPDATE * Cordova and Xcode re-install solved the problem, sorry.

pbakondy commented 7 years ago

Environment? cordova version, iOS version, XCode version, simulator or device?

On 23 Oct 2016 11:04, "Laszlo Bodonyi" notifications@github.com wrote:

I did try to test your plugin (i waiting for similar long time ago), but build is failed with the following error:

Undefined symbols for architecture i386: "_OBJCCLASS$_SFSpeechAudioBufferRecognitionRequest", referenced from: objc-class-ref in SpeechRecognition.o "_OBJCCLASS$_SFSpeechRecognizer", referenced from: objc-class-ref in SpeechRecognition.o ld: symbol(s) not found for architecture i386

It's a simple Phonegap project, contains only this plugin. When i remove plugin, then project files compiled fine. What solutions are possible to solve this issue?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAej2SmQBmUIn7du5hJ1RqZM-MBVCNTcks5q2yMQgaJpZM4KeFYB .

Methos21 commented 7 years ago
Cordova 6.3.1, Xcode 8.0 - i did try to build cordova project
  from command line and got that error. When i did remove the
  plugin, the build was successful. Cordova and Xcode re-install
  solved the problem, so it's weird why got this error. I did read
  forums and other people run into similar problems (another
  plugins, not yours) with Xcode 8.

2016. 10. 25. 20:11 keltezéssel, Peter
  Bakondy írta:

Environment?
  cordova version, iOS version, XCode version, simulator or device?

  On 23 Oct 2016 11:04, "Laszlo Bodonyi"
  <notifications@github.com> wrote:

  > I did try to test your plugin (i waiting for similar long
  time ago), but
  > build is failed with the following error:
  >
  > Undefined symbols for architecture i386:
  > "_OBJC_CLASS_$_SFSpeechAudioBufferRecognitionRequest",
  referenced from:
  > objc-class-ref in SpeechRecognition.o
  > "_OBJC_CLASS_$_SFSpeechRecognizer", referenced from:
  > objc-class-ref in SpeechRecognition.o
  > ld: symbol(s) not found for architecture i386
  >
  > It's a simple Phonegap project, contains only this plugin.
  When i remove
  > plugin, then project files compiled fine. What solutions are
  possible to
  > solve this issue?
  >
  > Thank you.
  >
  > —
  > You are receiving this because you are subscribed to this
  thread.
  > Reply to this email directly, view it on GitHub
  >

https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/2,

or mute the thread

https://github.com/notifications/unsubscribe-auth/AAej2SmQBmUIn7du5hJ1RqZM-MBVCNTcks5q2yMQgaJpZM4KeFYB .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

  {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/pbakondy/cordova-plugin-speechrecognition","title":"pbakondy/cordova-plugin-speechrecognition","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/pbakondy/cordova-plugin-speechrecognition"}},"updates":{"snippets":[{"icon":"PERSON","message":"@pbakondy in #2: Environment?\ncordova version, iOS version, XCode version, simulator or device?\n\nOn 23 Oct 2016 11:04, \"Laszlo Bodonyi\" \u003cnotifications@github.com\u003e wrote:\n\n\u003e I did try to test your plugin (i waiting for similar long time ago), but\n\u003e build is failed with the following error:\n\u003e\n\u003e Undefined symbols for architecture i386:\n\u003e   \"_OBJC_CLASS_$_SFSpeechAudioBufferRecognitionRequest\", referenced from:\n\u003e       objc-class-ref in SpeechRecognition.o\n\u003e   \"_OBJC_CLASS_$_SFSpeechRecognizer\", referenced from:\n\u003e       objc-class-ref in SpeechRecognition.o\n\u003e ld: symbol(s) not found for architecture i386\n\u003e\n\u003e It's a simple Phonegap project, contains only this plugin. When i remove\n\u003e plugin, then project files compiled fine. What solutions are possible to\n\u003e solve this issue?\n\u003e\n\u003e Thank you.\n\u003e\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/pbakondy/cordova-plugin-speechrecognition/issues/2\u003e,\n\u003e or mute the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AAej2SmQBmUIn7du5hJ1RqZM-MBVCNTcks5q2yMQgaJpZM4KeFYB\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/pbakondy/cordova-plugin-speechrecognition/issues/2#issuecomment-256114959"}}}