带有React Native的iOS模拟器上无法识别的字体系列'Saman'

时间:2020-11-05 10:43:28

标签: ios react-native react-native-ios

我的项目中有一个字体saman.ttf https://www.dafont.com/samarkan.font。字体在android上工作正常,但在ios上抛出此错误。 我尝试了此链接中提到的所有内容 Unrecognized font family on iOS simulator with React Native及其以下

  1. 清理构建。
  2. 将字体文件添加到info.plist
  3. Xli目标中包含的
  4. 字体文件
  5. “副本捆绑资源”中包含的字体文件
  6. 尝试将文件名更改为SAMAN ___。TTF

请帮助!

this is the error

enter image description here

enter image description here

enter image description here

0 个答案:

没有答案