Hey everyone, I'm trying to use some material them...
# compose-ios
a
Hey everyone, I'm trying to use some material theme fonts in compose iOS but the app is crashing with a very obtuse error:
NSInvalidArgumentException', reason: '*** -[NSMutableDictionary __addObject:forKey:]: object cannot be nil
What is odd is I have a differnt compose screen in my app that uses custom fonts. I'm not sure what to look for here
p
i faced the same crash when using fontWeight=SemiBold
d
Hello! Can you please create a minimal reproducible sample project ?
a
@Dima Avdeev I actually found out the reason; it was one particular font! This is the font:
Just use that in a Compose Multiplatform FontFamily and it will crash on iOS
This isn't using 1.5.0, however; I'm unable to upgrade my project for that
d
We still need a mininal reproducible sample with this font. If you have this crash, it is better you to create this sample on GitHub. And put this font there.