Why is SSML contour tag not changing the hz of the audio
iOS on Stack Overflow | Featured questions tagged ios
by daniel
3h ago
I got this SSML from w3.org. AVSpeechUtterance(ssmlRepresentation:) is not complying with the contour. It doesn't change the hz. It always plays at the same hz level. I'm using: Xcode 15.3, iPhone 8 device with iOS 16.7.5, Swift. Here's the String value for ssmlRepresentation. SSML with contour tag: <?xml version="1.0"?> <speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis11/synthesis.xsd ..read more
Visit website
IOS 17+ SMS API
iOS on Stack Overflow | Featured questions tagged ios
by Prowtons McBishop
19h ago
I am building an iMessage extension app that I do not intend to submit to the App Store. This app aims to send a scheduled SMS message given a date and time. Does the iOS environment offer a way to send SMS messages from a background thread? I have done research, however, most of the information I have come across is now many years old. I have attempted to use the activeConversation instance member variable of the MSMessagesAppViewController class to send an SMS message, however, this has issues when executing on a background thread. In my own research I have seen two additional methods of sen ..read more
Visit website
Xcode Project with Framework - Library not loaded
iOS on Stack Overflow | Featured questions tagged ios
by Dzeremix
2d ago
I am starting a new Xcode Project for macOS app. During the initial development I found that some part of the app should be shared between different targets like macOS App, Quick Look etc. The goal was to user Framework. By selecting Project in Project navigator and using the plus icon, I have created a new Framework target and called it Shared. Next, in my App Project I have added it into the project and checked if it is correctly linked. The framework was Embedded and Signed. Both targets have the same Signing & Capabilities settings. After I move a code into Shared framework it was time ..read more
Visit website
Undefined symbol: _GADUnifiedNativeIconAsset while migrating GoogleMobileAdsMediationFacebook with GoogleMobileAds iOS
iOS on Stack Overflow | Featured questions tagged ios
by Tushar Lathiya
2d ago
I would like to migrate Facebook mediation with Google Mobile Ads. Pod: pod 'Google-Mobile-Ads-SDK' pod 'GoogleMobileAdsMediationFacebook' Getting the below error after migrating to the latest version 11.2.0. Undefined symbol: _GADUnifiedNativeIconAsset It is working fine if I downgrade pod to pod 'Google-Mobile-Ads-SDK', '10.14.0' Kindly let me know if anyone has an idea to fix the above issue with the latest pod file ..read more
Visit website
SwiftUI View Alignment Issue on Device Orientation Change and App Background to Foreground Transition
iOS on Stack Overflow | Featured questions tagged ios
by Jayachandra A
2d ago
I'm encountering an issue with SwiftUI view alignment when the device orientation changes or when the app transitions from the background to the foreground. Despite my efforts, the views(Tabbar) seem to be misaligned, causing a poor user experience. Below is a simplified version of the code I'm using to display the UI: @main struct SSWIFTUIApp: App { var body: some Scene { WindowGroup { TabbarViewApp() } } } struct TabbarViewApp: View { init() { let app = UITabBarAppearance() app.configureWithOpaqueBackground() app.backgrou ..read more
Visit website
How to launch flavour of flutter module from native side?
iOS on Stack Overflow | Featured questions tagged ios
by rv7284
4d ago
I'm using flutter module to add some screens in my native iOS app. same thing is used on android side as well. Now I want to add dev, prod flavour to the app. I've managed to do so in flutter module and I can launch it as well using terminal flutter run --flavor dev/prod this works as expected. But now I want to trigger this from my native app. I've created same schemas in iOS side but it always launches the last generated flavour of flutter module not the one I'm trying to run. I've already read this git issue. It has no solution and the last commit just says Yeah you can do it but not how ..read more
Visit website
Xcode - Build input file cannot be found
iOS on Stack Overflow | Featured questions tagged ios
by RunLoop
4d ago
After upgrading from Xcode 12, on any version of Xcode 13 or later, the following error occurs when running the sudo sh install-appledoc.sh command: Build input file cannot be found: '~/<ProjectDir>/appledoc/default_templates.zip'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'appledoc' from project 'appledoc') After researching the issue, the best lead I could find was to make sure that the target does not have any excluded architectures, which it does not. I can also confirm the noted file does exist at the stated ..read more
Visit website
Only last notification appears on iOS after switching to online
iOS on Stack Overflow | Featured questions tagged ios
by Darex1991
1w ago
regards documentation of Firebase I have (I suppose) collapsible message. I had a similar problem with Android, but after removing the whole notification object from the payload it started working. But on iOS sending notification with (only) data as payload nothing helped - only last notification appears after switching network from offline to online. Honestly, I tried many different ways (with or without apns header, without apns etc.) and I see a dead end. Help! For now, my payload looks: message: { token: 'some token', data: { title: 'some title', body: 'some body', content ..read more
Visit website
Trouble Adding OpenAPIGenerator Plugin to Run Build Tool Plug-ins in Xcode Using SPM
iOS on Stack Overflow | Featured questions tagged ios
by Levan Karanadze
1w ago
I'm using SPM in my project and am trying to integrate Apple/swift-openapi-generator. My project is divided into several modules, for which I'm using SPM. To manage dependencies, I have a Package.swift file. // swift-tools-version:5.8 import Foundation import PackageDescription let openAPIRuntime = Target.Dependency.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime") let openAPIURLSession = Target.Dependency.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession") let openAPIGenerator = Target.PluginUsage.plugin(name: "OpenAPIGenerator", package: "swift-openapi ..read more
Visit website
How to keep custom view background static while making swipe to delete action
iOS on Stack Overflow | Featured questions tagged ios
by Whirlwind
1w ago
So I have this code: struct ContentView: View { @State private var names = ["Ted", "Barney", "Lily", "Robin", "Marshal"] var body: some View { List { ForEach(names, id: \.self) { name in ListRowView(name: name) } .onDelete(perform: deleteName) } .listStyle(.plain) .scrollContentBackground(.hidden) } func deleteName(at offsets: IndexSet) { names.remove(atOffsets: offsets) } } struct ListRowView: View { let name: String var body: some View { HStack { i ..read more
Visit website

Follow iOS on Stack Overflow | Featured questions tagged ios on FeedSpot

Continue with Google
Continue with Apple
OR