1. Print: Entry, “:CFBundleIdentifier”, Does Not Exist
Installing build/Build/Products/Debug-iphonesimulator/awesome.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, “:CFBundleIdentifier”, Does Not ExistCommand failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/awesome.app/Info.plist
Print: Entry, “:CFBundleIdentifier”, Does Not Exist
解决方式:
执行如下命令:
react-native upgrade
react-native run-ios
2. Unrecognized font family ‘Ionicons
Unrecognized font family ‘Ionicons’
在项目根目录执行
npm link react-native-vector-icons
react-native link react-native-vector-icons
yarn add react-native-elements (or) npm i react-native-elements --save
3. Unable to resolve module ‘react-native-vector-icons/FontAwesome’
yarn add react-native-vector-icons
react-native start --reset-cache