Code I'm using (paraphrased)
private let player = ApplicationMusicPlayer.shared
private func play(songs : [Song]) {
Task.init {
player.setQueue(with: songs)
try await player.prepareToPlay()
player.play()
}
}
When I compile and run on my device (iOS 15 Beta 4), the app SIGABRT crashes on launch (does not hit breakpoints) with:
dyld[9429]: Symbol not found: _$s8MusicKit0A6PlayerC4playyyFTj
Referenced from: /private/var/containers/Bundle/Application/21A3E366-FDC0-481C-B857-99353C8BED87/Soundbooth.app/Soundbooth
Expected in: /System/Library/Frameworks/MusicKit.framework/MusicKit
Symbol not found: _$s8MusicKit0A6PlayerC4playyyFTj
Referenced from: /private/var/containers/Bundle/Application/21A3E366-FDC0-481C-B857-99353C8BED87/Soundbooth.app/Soundbooth
Expected in: /System/Library/Frameworks/MusicKit.framework/MusicKit
Has anyone else seen this behavior?