Post

Replies

Boosts

Views

Activity

Comment on iOS Dynamically loaded custom fonts in WidgetKit not working on real device (simulator is fine). Sandbox chronod deny file-read-data for font file.
Hello @Vincentthe0ne , Have you resolute this question? As your suggestion, CTFontManagerRegisterFontsForURL with parameter .process let success = CTFontManagerRegisterFontsForURL(containerCachePath as CFURL, .process, &error) In Application, success = true and font works well. But In Widget, success = false, and error = com.apple.CoreText.CTFontManagerErrorDomain Code=105 Seems code in getTimeline(...) has no permission using the file in AppGroupContainer in that way. Any advice?
Dec ’23