【发布时间】:2021-04-21 05:03:25
【问题描述】:
我想更改应用程序名称,所以我更改了它并删除了 iOS 和 android 文件夹,然后我运行 react-native eject,然后我尝试构建项目,但我面临来自 vector-icon 的 16 个错误
我在 iOS/projectName/Info.plist 中有 UIAppFonts
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Fontisto.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>Octicons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Zocial.ttf</string>
</array>
【问题讨论】:
标签: ios xcode react-native react-native-vector-icons