React-native0.46.4初始化项目run-ios报错处理

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze /Users/plus/Desktop/RN/Demo5/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c


Analyze /Users/plus/Desktop/RN/Demo5/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c

(2 commands with analyzer issues)

The following build commands failed:

PhaseScriptExecution Install\ Third\ Party /Users/plus/Desktop/RN/Demo5/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/

Script-190EE32F1E6A43DE00A8543A.sh

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/Demo5.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/Demo5.app/Info.plist

Print: Entry, ":CFBundleIdentifier", Does Not Exist

环境:

node:v6.8.1

react-native-cli:2.0.1

react-native:0.46.4

处理方法:

此报错原因是当前RN环境大于0.45有几个文件被墙了,所以你懂的,重新初始化一个RN项目

方法一:

react-native init Demo2 --version 0.44.3

方法二:

rm -rf ~/.rncache

React-native0.46.4初始化项目run-ios报错处理_第1张图片

你可能感兴趣的:(React-native0.46.4初始化项目run-ios报错处理)