fangwei716 / 30-days-of-react-native

30 days of React Native demos
6.82k stars 1.46k forks source link

ios11 xcode9 react-native run-ios build commands failed #55

Open giantss opened 6 years ago

giantss commented 6 years ago

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

yxwandroid commented 6 years ago

I have the same problem

joshiaProgram commented 6 years ago

I also have the same problem, hope someone fix it ...

SDAman commented 6 years ago

代码里面有个报错,把报错修复之后再run-ios就行

amandeepmittal commented 6 years ago

@SDAman how to solve the error? I am getting the above same error as @giantss.

vincent-cihan commented 6 years ago

In my case, change react-native from "^0.40.0" to "^0.39.0" in package.json. Then npm install.

SiJieMa commented 5 years ago

Same problem!!!!

lancelot9527 commented 5 years ago

代码里面有个报错,把报错修复之后再run-ios就行

it works,but another problem image