khanhuitse05 / speech-and-text-unity-ios-android

Speed to text in Unity iOS use Native Speech Recognition
MIT License
286 stars 124 forks source link

Unexpected file found in Frameworks error during iOS Archiving process. #88

Open Sukanta-Patra opened 7 months ago

Sukanta-Patra commented 7 months ago

The build works fine in local test device, but when I'm trying to archive the project I'm getting this error after awaiting validation response from Apple Store Connect.

I have added Speech.framework under Unity-Framework and Unity-iPhone too. (Tried removing and adding Speech.framework from Unity-iPhone but the error persisted in both cases)

Unexpected file found in Frameworks. The “Tilli.app/Frameworks/SpeechUtteranceViewController.h, Tilli.app/Frameworks/SpeechRecorderViewController.mm, Tilli.app/Frameworks/SpeechUtteranceViewController.mm, Tilli.app/Frameworks/SpeechRecorderViewController.h” file is in the Frameworks directory, but the Swift runtime libraries are the only files permitted in that directory. Please remove this file and upload a new build. (ID: 25e4835e-3fca-4e12-b9f1-93a4ab36f550)

Let me know if any more information is needed?

Screenshot 2023-11-30 at 11 28 31 AM
Sukanta-Patra commented 7 months ago

FIXED: I fixed this error by removing the mentioned frameworks from Unity-iPhone>Build Phases>Embed Frameworks. Although I'm not sure if it'll affect any speech to text functionality in my app, I'll have to test that after some time.

Screenshot 2023-12-01 at 3 39 31 PM

EDIT: STT is working properly. .