pbakondy / cordova-plugin-speechrecognition

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

Phonegap build #8

Closed marcarausch closed 7 years ago

marcarausch commented 7 years ago

I am getting this issue on phonegap for the IOS build:

The following 3rd-party plugin is causing the build to fail and may need to be updated to a newer version: cordova-plugin-speechrecognition

The android build works.

My config.xml file in my ionic app has this line:

pbakondy commented 7 years ago

I need logs with more detail

On 6 Dec 2016 11:54, "marcarausch" notifications@github.com wrote:

I am getting this issue on phonegap for the IOS build:

The following 3rd-party plugin is causing the build to fail and may need to be updated to a newer version: cordova-plugin-speechrecognition

The android build works.

My config.xml file in my ionic app has this line:

— 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/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAej2TxeeX6u3Ww9WDWk0oJ4gn9u7MI9ks5rFT75gaJpZM4LFRfl .

marcarausch commented 7 years ago

This is the log file fro phonegap:

speech plugin log.txt

pbakondy commented 7 years ago

This is the key:

In file included from /tmp/gimlet/1527634/project/Healthdocs/Plugins/cordova-plugin-speechrecognition/SpeechRecognition.m:5:
/tmp/gimlet/1527634/project/Healthdocs/Plugins/cordova-plugin-speechrecognition/SpeechRecognition.h:2:9: fatal error: 'Speech/Speech.h' file not found
#import <Speech/Speech.h>
        ^
1 error generated.

I don't know phonegap environment but try adding Speech.framework to the iOS environment. Cordova build adds it automatically.

See: https://github.com/pbakondy/cordova-plugin-speechrecognition/blob/master/plugin.xml#L58

tobiasmuecksch commented 7 years ago

In my opinion, this issue can be closed

pbakondy commented 7 years ago

reason?

tobiasmuecksch commented 7 years ago

Inactivity and obliviously no bug of the plugin. You already offered a perfect answer.