Post

Replies

Boosts

Views

Activity

Scrumdinger sample app does not play sound
I installed the Scrumdinger tutorial app using the links at: https://developer.apple.com/tutorials/app-dev-training/getting-started-with-scrumdinger The ding sound does not play on my iPhone, the relevant code is: import Foundation import AVFoundation extension AVPlayer { static let sharedDingPlayer: AVPlayer = { guard let url = Bundle.main.url(forResource: "ding", withExtension: "wav") else { fatalError("Failed to find sound file.") } return AVPlayer(url: url) }() } player.seek(to: .zero) player.play() If I create a separate sample app with just this code it does play the sound. However the sample Scrumdinger app does not play the "ding" sound.
2
0
1.5k
Sep ’22
Scrumdinger sample app does not play sound
I installed the Scrumdinger tutorial app using the links at: https://developer.apple.com/tutorials/app-dev-training/getting-started-with-scrumdinger The ding sound does not play on my iPhone, the relevant code is: import Foundation import AVFoundation extension AVPlayer { static let sharedDingPlayer: AVPlayer = { guard let url = Bundle.main.url(forResource: "ding", withExtension: "wav") else { fatalError("Failed to find sound file.") } return AVPlayer(url: url) }() } player.seek(to: .zero) player.play() If I create a separate sample app with just this code it does play the sound. However the sample Scrumdinger app does not play the "ding" sound.
Replies
2
Boosts
0
Views
1.5k
Activity
Sep ’22