Post

Replies

Boosts

Views

Activity

ShazamKit supported for iOS apps that can run on Mac silicon?
I am having issues deploying my iOS app, that uses ShazamKit, to get working on a Mac with Apple silicon. When uploading the archive to App Store Connect I do get ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftShazamKit.dylib Is ShazamKit not supported for iOS apps that can run on Macs with Apple silicon? Or is there something I should fix in my setup / deployment?
26
0
1.6k
Jun ’25
ShazamKit supported for iOS app running on Mac Silicon?
I am having issues deploying my iOS app, that uses ShazamKit, to get working on a Mac with Apple silicon. When uploading the archive to App Store Connect I do get ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftShazamKit.dylib Is ShazamKit not supported for iOS apps that can run on Macs with Apple silicon? Or is there something I should fix in my setup / deployment?
3
0
461
Jun ’25
RecordLabel
I can't seem to find an album using MusicKit containing RecordLabel. I am using album.with([..., .recordLabels, ...] but I only see an empty recordLabels collection returned for every album I am trying... Is this actually available / populated through MusicKit?
0
0
598
Mar ’24
Access "About Artist" information and editorialNotes in general.
Is it possible using MusicKit API's to access the About information displayed on an artist page in Apple Music? I hoped Artist.editiorialNotes would give me the information but there is scarce information in there. Even for Taylor Swift, only editorialNotes.short displays brief info: "The genre-defying singer-songwriter is the voice of a generation." If currently not possible, are there plans for it in the future? Also, with the above in mind, and never seen any editorialNotes for a song, is it safe to assume editorialNotes are mainly used for albums?
0
0
813
Jan ’24
Using MusicKit to retrieve playlists and contents of playlists
What is the best approach to retrieve playlists using MusicKit. I can't seem to guess from the docs how to use the API to accomplish this, as well as retrieving tracks from a playlist. I am in the process of migrating code from Apple Music API to MusicKit and I potentially could use MusicDataRequest to retrieve playlists using the Apple Music API endpoints, but I want to be sure there are no better alternatives. Sample code would definitely help.
6
0
4.2k
Jun ’22
AVAudioPlayer stopped making noise... :-)
Hi there, Has something changed with AVAudioPlayer with new Swift/SwiftUI version or when building for iOS 15? This piece of code below used to work without issues when building the app for iOS 14. I use AVAudioPlayer to listen to a preview track from iTunes, e.g. https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview115/v4/7c/33/61/7c33611a-0fc8-546b-d737-287e75867ddb/mzaf_7738318112069179681.plus.aac.p.m4a. However, I am not hearing any sound on a test device on which I reinstalled the app built with iOS 15 (rather than iOS 14). I did use the exact same code and I am referring to the same URL... Both devices are running iOS 15.3. In short: with production app (built with deployment target iOS 14.x) I can hear sound; test app (built with deployment target iOS 15.3) I cannot hear sound... Code is like class PreviewTrack {     static var audioPlayer: AVAudioPlayer! static func playTheOldWay(sound: String, status: Bool) {         let previewURL = URL(string: sound)         print("Preview Track URL: \(sound)")         let task = URLSession.shared.dataTask(with: previewURL!) { data, _, error in             guard let _ = data,                   error == nil else {                       Logger.viewCycle.info("PreviewTrack - \(error?.localizedDescription ?? "Response Error")")                       return }             if let data = data {                 self.audioPlayer = try? AVAudioPlayer(data: data)                 if status {                     Logger.viewCycle.info("PreviewTrack - Playing Track...")                     self.audioPlayer.play()                 }                 else {                     Logger.viewCycle.info("PreviewTrack - Stoppimng Track...")                     self.audioPlayer.stop()                 }             }         }         task.resume()     } }
0
0
968
Feb ’22
ShazamKit supported for iOS apps that can run on Mac silicon?
I am having issues deploying my iOS app, that uses ShazamKit, to get working on a Mac with Apple silicon. When uploading the archive to App Store Connect I do get ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftShazamKit.dylib Is ShazamKit not supported for iOS apps that can run on Macs with Apple silicon? Or is there something I should fix in my setup / deployment?
Replies
26
Boosts
0
Views
1.6k
Activity
Jun ’25
ShazamKit supported for iOS app running on Mac Silicon?
I am having issues deploying my iOS app, that uses ShazamKit, to get working on a Mac with Apple silicon. When uploading the archive to App Store Connect I do get ITMS-90863: Macs with Apple silicon support issue - The app links with libraries that aren’t present in macOS: /usr/lib/swift/libswiftShazamKit.dylib Is ShazamKit not supported for iOS apps that can run on Macs with Apple silicon? Or is there something I should fix in my setup / deployment?
Replies
3
Boosts
0
Views
461
Activity
Jun ’25
RecordLabel
I can't seem to find an album using MusicKit containing RecordLabel. I am using album.with([..., .recordLabels, ...] but I only see an empty recordLabels collection returned for every album I am trying... Is this actually available / populated through MusicKit?
Replies
0
Boosts
0
Views
598
Activity
Mar ’24
Access "About Artist" information and editorialNotes in general.
Is it possible using MusicKit API's to access the About information displayed on an artist page in Apple Music? I hoped Artist.editiorialNotes would give me the information but there is scarce information in there. Even for Taylor Swift, only editorialNotes.short displays brief info: "The genre-defying singer-songwriter is the voice of a generation." If currently not possible, are there plans for it in the future? Also, with the above in mind, and never seen any editorialNotes for a song, is it safe to assume editorialNotes are mainly used for albums?
Replies
0
Boosts
0
Views
813
Activity
Jan ’24
Using MusicKit to retrieve playlists and contents of playlists
What is the best approach to retrieve playlists using MusicKit. I can't seem to guess from the docs how to use the API to accomplish this, as well as retrieving tracks from a playlist. I am in the process of migrating code from Apple Music API to MusicKit and I potentially could use MusicDataRequest to retrieve playlists using the Apple Music API endpoints, but I want to be sure there are no better alternatives. Sample code would definitely help.
Replies
6
Boosts
0
Views
4.2k
Activity
Jun ’22
AVAudioPlayer stopped making noise... :-)
Hi there, Has something changed with AVAudioPlayer with new Swift/SwiftUI version or when building for iOS 15? This piece of code below used to work without issues when building the app for iOS 14. I use AVAudioPlayer to listen to a preview track from iTunes, e.g. https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview115/v4/7c/33/61/7c33611a-0fc8-546b-d737-287e75867ddb/mzaf_7738318112069179681.plus.aac.p.m4a. However, I am not hearing any sound on a test device on which I reinstalled the app built with iOS 15 (rather than iOS 14). I did use the exact same code and I am referring to the same URL... Both devices are running iOS 15.3. In short: with production app (built with deployment target iOS 14.x) I can hear sound; test app (built with deployment target iOS 15.3) I cannot hear sound... Code is like class PreviewTrack {     static var audioPlayer: AVAudioPlayer! static func playTheOldWay(sound: String, status: Bool) {         let previewURL = URL(string: sound)         print("Preview Track URL: \(sound)")         let task = URLSession.shared.dataTask(with: previewURL!) { data, _, error in             guard let _ = data,                   error == nil else {                       Logger.viewCycle.info("PreviewTrack - \(error?.localizedDescription ?? "Response Error")")                       return }             if let data = data {                 self.audioPlayer = try? AVAudioPlayer(data: data)                 if status {                     Logger.viewCycle.info("PreviewTrack - Playing Track...")                     self.audioPlayer.play()                 }                 else {                     Logger.viewCycle.info("PreviewTrack - Stoppimng Track...")                     self.audioPlayer.stop()                 }             }         }         task.resume()     } }
Replies
0
Boosts
0
Views
968
Activity
Feb ’22