Search code examples
iosxcodereact-nativereact-native-vector-icons

error: Multiple commands produce (after eject react-native)


I wanted to change the application name so I changed it and deleted the iOS & android folders then I run react-native eject then I tried to build the project but I am facing 16 error from vector-icon

enter image description here

and I have the UIAppFonts in the iOS/projectName/Info.plist

<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>

Solution

  • In Xcode, find the Copy Bundle Resources script in Build Phases tab, and see if the font files are listed there. If they are, removing them there should help.