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.
Pull request
Description
This PR avoids crashing unit tests during font registration.
Changes made
I replaced the assertion with an
NSLog
. UsingNSLog
is in general bad practice but here this is just for warning purposes. Adding a dependency onSRGLogger
or usingos_log
seemed also a bit too much.