Problem with testing on a physical device

Hello, I am having the following issue: I am using the packages DSWaveformImage and DSWaveformImageViews if that matters. My code's goal is to generate waveform images from files embedded in the application. That works great on a simulator device, but when I run the code on a physical device (iPhone 15 Pro, iOS 18.2), I get this error (shown in the attached screenshot below):

assertionFailure() always kills your app, so the issue is that an error was caught.

I've no idea what DSWaveformImage and DSWaveformImageViews are, and you haven't provided any sort of information or link to them for us to try and understand them.

Problem with testing on a physical device
 
 
Q