Ios 错误:产生多个命令(在弹出反应本机后)

Ios 错误:产生多个命令(在弹出反应本机后),ios,xcode,react-native,react-native-vector-icons,Ios,Xcode,React Native,React Native Vector Icons,我想更改应用程序名称,所以我更改了它并删除了iOS和android文件夹,然后运行react native eject,然后我尝试构建该项目,但我面临来自vector icon的16个错误 我在iOS/projectName/Info.plist中有UIAppFonts <key>UIAppFonts</key> <array> <string>AntDesign.ttf</string> <string>

我想更改应用程序名称,所以我更改了它并删除了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>
UIAppFonts
AntDesign.ttf
Entypo.ttf
http://www.ttf.cn
羽毛
font.ttf
FontAwesome5_Brands.ttf
FontAwesome5_Regular.ttf
FontAwesome5_Solid.ttf
丰蒂斯托
基金会
Ionicons.ttf
MaterialCommunicationIcons.ttf
唯物主义者
Octicons.ttf
SimpleLineIcons.ttf
Zocial.ttf

在Xcode中,在“构建阶段”选项卡中找到“复制捆绑包资源”脚本,然后查看是否列出了字体文件。如果是的话,将它们移除应该会有帮助。

我花了一段时间(我是XCode的新手)才弄明白Marek Lisik的答案,下面是他所说步骤的图片。