UEAzSpeech
                                
                                
                                
                                    UEAzSpeech copied to clipboard
                            
                            
                            
                        Experimental: Support for iOS Platform
This plugin currently does not support iOS platforms. Note: I don't have an iOS device to test, so this improvement will be experimental.
So, Does it still support iOS? Please let me know so that I can also help you test it on one
Pushed an experimental branch: https://github.com/lucoiso/UEAzSpeech/tree/experimental/MULTI-PLATFORM
Will test today and let you know
iOS also crashes on runtime, Should I create a new issue?
Hi @Ishu07 ! : ) Can you try again and send me the log for iOS build? I've updated the iOS UPL file and disabled the Azure SDK logs for Android and iOS : )
iOS support is currently experimental, there is no guarantee that it will work, as I have no way to test it here, so I am trying to adapt when an error is reported after an update.
If you can test again and send me the log, that would be great. :)
Hi, i will try soon and report :)
Hi, my compuyter is Apple M1,
When build for Mac,  there are some errors and the log is here:
Showing Recent Messages
ld: in /Users/xxxx/Documents/Unreal Projects/ChatGPT/Plugins/UEAzSpeech/Source/ThirdParty/AzureWrapper/libs/Mac/x64/libMicrosoft.CognitiveServices.Speech.core.a(event_helpers.cpp.o), building for macOS, but linking in object file built for Mac Catalyst, file '/Users/xxxx/Documents/Unreal Projects/ChatGPT/Plugins/UEAzSpeech/Source/ThirdParty/AzureWrapper/libs/Mac/x64/libMicrosoft.CognitiveServices.Speech.core.a' for architecture x86_64

I found that the lib files(.a/.dylib) for Mac platform in the ThirdParty are from different folder: .a files from:
- maccatalyst-arm64
 - maccatalyst-arm64
 
.dylib files from:
- osx-arm64
 - osx-x64
 
So that when I compile the source code, it tell me that Mac catalyst is not compatible with MacOS?
Hi @1165048017 ! :)
I'll check this and try some adjustments. Did you try using this branch: https://github.com/lucoiso/UEAzSpeech/tree/experimental/MULTI-PLATFORM ? Can you test it? :)
@lucoiso
Yes, I check my branch again:

By the way, an error occured before the MacOs & Mac catalyst
I just copied one of .a files from Mac folder into my Engine/Source folder and solved it.
But, after that, the MacOS & Mac catalyst problem appeared again

Made new changes, can you try again? 👀
@lucoiso GOOD JOB, it works now;
The text to speech or audio works well on my MacOS; I will test it on my iPhone soon.
By the way! Another stupid question T_T !
I don't know how to convert the voice input from my microphone to text; I see the Speech to Text button in the sample project, should I continuously press it, or just click it and then saying something, and it will stop recording after few seconds?
——————————————
IOS crash log is here

@1165048017
Disabled SDK logs for iOS, i think it's the same issue that was occurring for android, can you test it again? 😯
You can test using this branch: https://github.com/lucoiso/UEAzSpeech/tree/experimental/MULTI-PLATFORM Or disabling Azure SDK Logs in: Project Settings -> Plugins -> AzSpeech -> Information -> Disable: Enable Azure SDK Logs
@lucoiso
The Text to speech/Text to AudioData/SoundWave and SSM to Soundwavw/viseme/speech/audio data worked in my iPhone! But Text to Wav and speech to wav crashed, maybe it have no access to save file into my phone? Because I didn't see the APP ask my phone's storage access privacy.
The crash log is here

Additionally, It seems like that Speech/wav to text is unavailable too in my iphone ( works well in my M1). Maybe the privacy of microphone prevent it from listening my voice.