Whenever installing any npm package, run pod install
in ios folder.
ios/Podfile
+ source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
target 'AwesomeProject' do
+ pod 'boost-for-react-native', :git => 'https://gitee.com/damon-s/boost-for-react-native.git'
# ios run
cd AwesomeProject
yarn ios
# 或者
yarn react-native run-ios
# 用 xcode 打开 ios/AwesomeProject.xcworkspace
# android run
cd AwesomeProject
yarn android
# 或者
yarn react-native run-android
refer
- https://github.com/oblador/react-native-vector-icons
- https://medium.com/@vimniky/how-to-use-vector-icons-in-your-react-native-project-8212ac6a8f06
- oblador/react-native-vector-icons#1074
After removing those, xcode runs shift + cmd + k
clean build and cmd + b
build again.
yarn add react-native-vector-icons # https://oblador.github.io/react-native-vector-icons