Post

Replies

Boosts

Views

Activity

Reply to Disable new tab bar look
Did someone find a way to go back to the old tab bar version? All the hacks rewriting the sizeClass and having to bring it back accessing the UIApplication.shared scenes are very hacky and are not a solid solution. Did someone read something else from Apple side? There is a new "mode" property in UITabBarController, but it does work, does not roll back to the old tab bar version.
Aug ’24
Reply to When will the verifyReceipt api be deprecated?
@Frameworks Engineer what is the best way to communicate to our servers that a purchase has been verified locally by StoreKit 2? I see that the server verification in StoreKit 2 needs to receive the transaction ID from the client. And then store this transaction ID in the DB, to be able to later on communicate server-to-server with Apple. The receipt which was retrieved with Bundle(for: Self.self).appStoreReceiptURL in StoreKit 1 is not longer necessary for StoreKit 2. I am watching this video https://developer.apple.com/videos/play/tech-talks/10887/ IS THIS UNDERSTANDING CORRECT?
Oct ’23
Reply to verifyReceipt in storekit v2
@shashank-sachan did you find a way to communicate to your servers that a purchases has been verified locally? I see that the server verification in StoreKit 2 needs to receive the transaction ID from the client. And then store this transaction ID in the DB, to be able to later on communicate server-to-server with Apple. The receipt which was retrieved with Bundle(for: Self.self).appStoreReceiptURL in StoreKit 1 is not longer necessary for StoreKit 2. I am watching this video https://developer.apple.com/videos/play/tech-talks/10887/ IS THIS ALSO YOUR UNDERSTANDING?
Oct ’23
Reply to TTS problem iOS 17 beta
I can confirm that we also have crashes in iOS17 related to TTS. I am going to report them, but Apple has never fixed any of the issues I have reported in 14 years of iOS development, so I hope that at least they can use the crashlog to figure out something. This is our biggest crash and is affecting more than 200 users. It is happening either with compiling with Xcode 15, or also in previous versions. It is happening to users who have iOS17 in their phones. --- Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000147482280 0 libobjc.A.dylib objc_retain_x8 + 16 1 AudioToolboxCore auoop::RenderPipeUser::~RenderPipeUser() + 112 2 AudioToolboxCore -[AUAudioUnit_XPC internalDeallocateRenderResources] + 92 3 AVFAudio AUInterfaceBaseV3::Uninitialize() + 60 4 AVFAudio AVAudioEngineGraph::PerformCommand(AUGraphNodeBaseV3&, AVAudioEngineGraph::ENodeCommand, void*, unsigned int) const + 772 5 AVFAudio AVAudioEngineGraph::_Uninitialize(NSError**) + 132 6 AVFAudio AVAudioEngineImpl::Stop(NSError**) + 396 7 AVFAudio -[AVAudioEngine dealloc] + 52 8 TextToSpeech TTSSpeechLanguageCanonicalFormToGeneralLanguage 9 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 116 10 libobjc.A.dylib objc_destructInstance + 80 11 libobjc.A.dylib _objc_rootDealloc + 80 12 TextToSpeech TTSSpeechLanguageCanonicalFormToGeneralLanguage 13 TextToSpeech TTSVocalizerCopyURLForFallbackResource 14 TextToSpeech TTSSpeechUnitTestingMode 15 TextToSpeech AXAVSpeechSynthesisVoiceFromTTSSpeechVoice 16 libobjc.A.dylib object_cxxDestructFromClass(objc_object*, objc_class*) + 116 17 libobjc.A.dylib objc_destructInstance + 80 18 libobjc.A.dylib _objc_rootDealloc + 80 19 TextToSpeech TTSSpeechTransformTextWithLanguageAndVoiceIdentifier
Oct ’23
Reply to AVSpeechSynthesizer problem in iOS 16 Beta
feedback assistant report link FB11809156 I was able to make it work on simulators by following the instructions from ejrowlance1. It does NOT work on the device. The voices array from AVSpeechSynthesisVoice.speechVoices() is NOT empty. The utterance is not spoken Forcing a voice on the utterance (with the id of one of the listed voices) does NOT make the synthesizer speak. Forcing a voice on the utterance creating the voice with a local identifier (example "en-US") does not work. Downloading more voices and killing settings does not work Setting a rate on the utterance does not work (why it would work anyways, it is just a rate... but I just do not know what else to try). HERE IS THE CODE  private var synthesizer: AVSpeechSynthesizer = AVSpeechSynthesizer()   func read() {         let utterance = AVSpeechUtterance(string: "Some text")         synthesizer.speak(utterance)     } These are the errors I get in the console: [catalog] Unable to list voice folder  [AXTTSCommon] File file:///var/MobileAsset/AssetsV2/com_apple_MobileAsset_Trial_Siri_SiriTextToSpeech/purpose_auto/14b85d56e1353471b77c970980a81324be7cdf4e.asset/AssetData/vocalizer-user-dict.dat contained data that was not null terminated  [AXTTSCommon] MauiVocalizer: 11006 (Can't compile rule): regularExpression=\Oviedo(?=, (\x1b\pause=\d+\)?Florida)\b, message=unrecognized character follows , characterPosition=1 **(WHY THE HELL IS TRYING TO READ OVIEDO AND FLORIDA? I HAVE NOT IDEA!)**😂😂😂😂 [AXTTSCommon] MauiVocalizer: 16038 (Resource load failed): component=ttt/re, uri=, contentType=application/x-vocalizer-rettt+text, lhError=88602000
Nov ’22
Reply to AVFoundation AVSpeechUtterance AVSpeechSynthesizer not working in iOS 16 Beta 4, Beta 5
Same issue. Declaring Speech Synthesizer outside of the view does not solve the problem. " Unable to list voice folder" keeps happening. In both: simulators and real devices struct ContentView: View {     /// Text to be read     @State private var text: String = "Paste the text you want to be read here"     /// Text synthesizer     var synthesizer: AVSpeechSynthesizer     var body: some View {         VStack {             TextEditor(text: $text)                 .padding()             .overlay(                 RoundedRectangle(cornerRadius: 16)                     .stroke(.black, lineWidth: 2)             )             Divider()             Button(action: {                 read()             },                    label: {                 Spacer()                 Image(systemName: "speaker.wave.3.fill")                     .imageScale(.large)                     .foregroundColor(.black)                 Text("Read")                     .fontWeight(.black)                     .font(.largeTitle)                     .foregroundColor(.black)                 Spacer()             })         }         .padding()     }     func read() {         let speech = AVSpeechUtterance(string: text)         speech.voice = AVSpeechSynthesisVoice(language: Locale.preferredLanguages.first)         synthesizer.speak(speech)     } }
Nov ’22