Posts

Post marked as solved
2 Replies
981 Views
Ive been looking at MusicKit hoping there is a way I can get a list of all Artists, Albums or Songs for a users Library. I can get these for a search term (see code), but what if I want to just return all Albums from the catalog ? I can't seem to find a method or search term to do this. Is it possible ? Thanks do {                 let searchRequest = MusicCatalogSearchRequest(term: "Muse", types: [Album.self])                 let searchResponse = try await searchRequest.response()                 print(searchResponse.albums.count)                 print(searchResponse.albums)             } catch {                 print("Failed to load albums")             }
Posted
by Dinalli.
Last updated
.
Post not yet marked as solved
2 Replies
5.0k Views
When using os_log in the following wayos_log("Response %{PUBLIC}@", log: OSLog.auditupload, type: .default, task.response ?? "No response")Console reports it as the following default 12:50:38.985797 +0100 AssetStockCheckIOS Response <private>I Expected to be able to see the response in the log. This is when the iPad is not in debug mode but running a release build of the App.Is there a way to make this work ? i have tried log types of .info and .defaultThanksAndy
Posted
by Dinalli.
Last updated
.