ios11 xcode9 react-native run-ios build commands failed

Author: giantssCreated Oct 17, 2017Updated Mar 27, 2019

`** BUILD FAILED **

The following build commands failed: CompileC /Users/zhongpeng/Documents/react-native/30-days-of-react-native/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTJavaScriptLoader.o Base/RCTJavaScriptLoader.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (1 failure)

Installing build/Build/Products/Debug-iphonesimulator/ThirtyDaysOfReactNative.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 Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/ThirtyDaysOfReactNative.app/Info.plist Print: Entry, ":CFBundleIdentifier", Does Not Exist `

Source: fangwei716/30-days-of-react-native