I also encountered this issue and temporarily solved it by handling the string locally. You can check out my GitHub for reference:
https://github.com/Joker-388/FixiOS26CoreTextCrash/tree/main
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: