Downloading system fonts will crash

Downloading fonts using CTFontDescriptorMatchFontDescriptorsWithProgressHandler will crash after WWDC21. Exception NSException * "-[__NSCFNumber compare😃 : nil argument" 0x0000600002702c70

Which OS version are you running?

I also encountered this problem. It was okay before, but it didn’t work today, which caused the app to crash. The reason for the crash was also because this method was called to download fonts. iOS version 14.4.

I also encountered this problem. 

Also experienced the same issue on Jun 8th. Is it related to WWDC 21? It seems this old CoreText API is not involved in any topic in this WWDC.

Some devices that have no such problem can reproduce this issue as following steps:

  • Reset the network configuration in System Settings.
  • Remove and re-install the influenced Apps, and you will experience it.

I guess that the local Font cache will be cleared after the network configuration reset.

Downloading system fonts will crash
 
 
Q