SRGSSR / srgletterbox-apple

The official SRG SSR media playback experience
https://srgssr.github.io/marketing/letterbox/
MIT License
14 stars 7 forks source link

Replace assertion with simple log #286

Closed defagos closed 1 year ago

defagos commented 1 year ago

Pull request

Description

This PR avoids crashing unit tests during font registration.

Changes made

I replaced the assertion with an NSLog. Using NSLog is in general bad practice but here this is just for warning purposes. Adding a dependency on SRGLogger or using os_log seemed also a bit too much.