https://ui.docs.amplify.aws/swift/connected-components/liveness
Here is the package dependencies used for my project
Here is the error i got when i try to upload my app to testflight
for now i have added NSSpeechRecognitionUsageDescription just for the sake of allowing my app to be uploaded to testflight
And i need to emphasize again, my app does not use any speech recognition API
Question:
- Do i really need to specify NSSpeechRecognitionUsageDescription in this case? And if yes, what description should i write?
[INFO].[Edited on 20231224]
[11:23 pm, Sunday, 24 December 2023, Coordinated Universal Time (UTC)]
[Purpose] Added search result image for ‘AWSPredictionsPlugin’ from ‘Amplify’ plugin
2
Answers
Apple already answered your question.
If your app doesn’t use it you need to find out which 3rd party is using it and why.
If the package does now allow you to somehow exclude Speech Recognition you’ll have to decide if you want to add the setting or remove the package.
I don’t see anything obvious in the documentation for Face Liveness so that is likely not the culprit.
Looking at that list of packages, the Amplify repo contains a Predictions plugin that accesses iOS’s Speech methods as backups for when AWS services are unreachable:
source
While you have to
import AWSPredictionsPlugin
to use these functions in your own code, it’s possible that the whole package gets added to your binary – and so your app may appear to Apple’s analysis tools to containNSSpeechRecognition
-based code.