Post

Replies

Boosts

Views

Created

AVSpeechSynthesizer not playing words objective - c ios 16
AVSpeechSynthesizer was not working. it was working perfect before. below is my code objective - c. -(void)playVoiceMemoforMessageEVO:(NSString*)msg { [[AVAudioSession sharedInstance] overrideOutputAudioPort:AVAudioSessionPortOverrideSpeaker error:nil]; AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *speechutt = [AVSpeechUtterance speechUtteranceWithString:msg]; speechutt.volume=90.0f; speechutt.rate=0.50f; speechutt.pitchMultiplier=0.80f; [speechutt setRate:0.3f]; speechutt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-us"]; [synthesizer speakUtterance:speechutt]; } please help me to solve this issue.
1
0
1.2k
Aug ’23
Xcode 14.1 (14B47b) Distribution of "App" requires the "iPhoneOS" platform to be installed.
i have successfully archived the code. when trying to publish the app in app store. clicking on distribute button from archives am getting this error. "Distribution of "App name" requires the "iPhoneOS" platform to be installed. Please install the required platform to distribute "App Name."" please help as to fix this.
1
1
947
Mar ’23