Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Phonegap build #8

Closed
marcarausch opened this issue Dec 6, 2016 · 6 comments
Closed

Phonegap build #8

marcarausch opened this issue Dec 6, 2016 · 6 comments

Comments

@marcarausch
Copy link

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:
<gap:plugin name="cordova-plugin-speechrecognition" source="npm" />

@pbakondy
Copy link
Owner

pbakondy commented Dec 6, 2016 via email

@marcarausch
Copy link
Author

This is the log file fro phonegap:

speech plugin log.txt

@pbakondy
Copy link
Owner

pbakondy commented Dec 6, 2016

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
Copy link

In my opinion, this issue can be closed

@pbakondy
Copy link
Owner

reason?

@tobiasmuecksch
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants