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

Unexpected file found in Frameworks error during iOS Archiving process.

Sukanta-Patra opened this issue · 1 comments

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

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.
.