Open valentinegb opened 3 weeks ago
Thanks for the report - I remember seeing this asked on Matrix as well, the issue is that our debug assertion check is overly zealous about when methods exist. I think we need to use the Objective-C method instead of class_getInstanceMethod
, but can't remember the details rn.
You can use something like the following to work around this issue in the meantime, apologies for the hazzle:
[profile.dev.package.objc2]
debug-assertions = false
The following code:
produces the following output:
I am using
objc2-media-player
v0.2.2 with the featuresMPMediaEntity
,MPMediaItem
, andMPMusicPlayerController
on macOS 15.1 Beta (24B5024e).