在React Native中构建失败?

时间:2019-03-04 09:12:46

标签: ios node.js react-native npm-install react-native-ios

我是新来的本地人。我创建了一个我想在iOS中运行的react native项目,但收到以下错误。谁能告诉我我的环境设置或项目中出了什么问题。预先感谢。

** BUILD FAILED **


The following build commands failed:

        CompileC /Users/muruganandam/Library/Developer/Xcode/DerivedData/build/Build/intermediates/React.build/Debug-iphonesimulator/jsi.build/Objects-normal/x86_64/JSIDynamic.o /Users/muruganandam/Desktop/reactTutorialApp/node_modules/react-native/ReactCommon/jsi/JSIDynamic.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/reactTutorialApp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

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


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

    at checkExecSyncError (child_process.js:616:11)
    at Object.execFileSync (child_process.js:634:13)
    at Promise.then (/Users/muruganandam/Desktop/reactTutorialApp/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)

我什至提到了this link,但仍然遇到相同的错误。

0 个答案:

没有答案