Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs 我无法运行iOS_Reactjs_React Native - Fatal编程技术网

Reactjs 我无法运行iOS

Reactjs 我无法运行iOS,reactjs,react-native,Reactjs,React Native,**构建失败** 以下命令导致analyzer出现问题: Analyze /Users/allen/WebstormProjects/untitled/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c Analyze /Users/allen/WebstormProjects/untitled/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c (2个有分析器问题的

**构建失败**

以下命令导致analyzer出现问题:

Analyze /Users/allen/WebstormProjects/untitled/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
Analyze /Users/allen/WebstormProjects/untitled/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
(2个有分析器问题的命令)

以下生成命令失败: PhaseScripteExecution安装\Third\Party/Users/allen/WebstormProjects/untitled/ios/build/build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh (1次失败)

安装build/build/Products/Debug iphonesimulator/untitled.app 处理命令时遇到错误(域=NSPOSIXErrorDomain,代码=2): 未能安装请求的应用程序 在提供的路径中找不到应用程序包。 提供所需应用程序包的有效路径。 打印:条目“:CbundleIdentifier”不存在

命令失败:/usr/libexec/PlistBuddy-c打印:CFBundleIdentifier build/build/Products/Debug iphonesimulator/untitled.app/Info.plist 打印:条目“:CbundleIdentifier”不存在

请尝试以下操作:

> rm -rf ~/.rncache
> rm -rf node_modules
> yarn install
> react-native run-ios
使用
纱线安装
更换
npm安装
。我在使用
npm安装
时遇到了完全相同的错误,在尝试
warn安装
后,它最终对我有效

我的项目依赖项:

"react": "16.0.0-alpha.12"
"react-native": "0.45.1"