error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:
- react-native-vector-icons (to unlink run: "react-native unlink react-native-vector-icons")
...
error: Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/todo-amgojlyjogtbyxgotzfheqwjjnom/Build/Products/Debug-iphonesimulator/todo.app/SimpleLineIcons.ttf':
...
react native vector icons ๋ฅผ ์ฌ์ฉํ๋ ค๋๋ฐ... ์ ์ค๋ฅ๊ฐ ๊ณ์ ๋ด๋ค.
ํ๋ก์ ํธ ๋ค์ ๋น๋ํ๊ณ ํ๋ก์ธ์ค ๋๊ณ ํด๋ฆฐ๋น๋ํ๊ณ ์ฌ์ค์นํ๊ณ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์๋ ์ฐ๊ฒฐ ์ด์ฉ๊ณ ์ ์ฉ๊ณ ๋ฑ๋ฑ.. ์ฌ๋ฌ ์๋๋ฅผ ํ ๋์
๋๋์ด ํด๊ฒฐํ๋ค................
ios ์ ๊ฒฝ์ฐ pod ๋ฅผ ์ฌ์ฉํ์ฌ React-native-vector-icons ๋ฅผ ์ถ๊ฐํด์ผ ํ๋๋ฐ
์๋๋ react-native link react-native-vector-icons ๋ช ๋ น์ด๋ฅผ ํตํด link ๋ฅผ ์์ผ์ค์ผ ํ๋ค.
ํ์ง๋ง react-native 0.6 ๋ฒ์ ๋ถํฐ autolink ๋ฅผ ์ง์ํ๋... link ํ ๊ฒ ์ทจ์ํ๊ณ unlink ๋ฅผ ํ๋ผ๊ณ ํ๋ค.
๊ทธ๋์ Unlink ํ๋๋ can't find font ~ ๊ฐ ๋ฌ๋ค ใ ใ ใ ใ ใ ์ด์ฉ๋๊ฑฐ๋~
ํด๊ฒฐ๋ฒ์ ์ด๋ ๋ค.....
๋จผ์ unlink ํ๋ผ๋๋๋ก ํ๊ธฐ
react-native unlink react-native-vector-icons
๊ทธ ๋ค์ ios ํด๋์ info.plist ์ ์๋ ์ฝ๋๋ฅผ ์ง์ ์์ ํด์ฃผ๋ฉด ํด๊ฒฐ๋๋ค.
๋์ ๊ฒฝ์ฐ์๋ ../ios/app_name/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>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>
์ฐธ๊ณ ๋ก info.plist ๋ ios ์ ํจํค์ง ํ์ ์ ๋ณด๋ฅผ ์ ์ฅํ๋... package.json ๊ฐ์ ๋ ์์ด๋ค.