IOS报错:CFBundleIdentifier", Does Not Exist

** BUILD FAILED **

The following build commands failed:

CompileC /Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTScrollView.o Views/RCTScrollView.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

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

/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/promise/lib/done.js:10

throw err;

^

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/ReactNativeNWReactCalculator.app/Info.plist

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

at checkExecSyncError (child_process.js:483:13)

at Object.execFileSync (child_process.js:503:13)

at _runIOS (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/react-native/local-cli/runIOS/runIOS.js:77:34)

at /Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/react-native/local-cli/runIOS/runIOS.js:24:5

at tryCallTwo (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/promise/lib/core.js:45:5)

at doResolve (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/promise/lib/core.js:200:13)

at new Promise (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/promise/lib/core.js:66:3)

at Array.runIOS (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/react-native/local-cli/runIOS/runIOS.js:23:10)

at Object.run (/Users/plus/Desktop/RN/pack/react-native-nw-react-calculator/node_modules/react-native/local-cli/cli.js:86:13)

at Object. (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)

xcode报错:Ignoring return value of function declared with 'warn_unused_result' attribute

解决方式:

1.步骤一
貌似没效果,还多冒出3个错误~ ~!!!

2.步骤二 把多出来的错误一并处理掉
真的坑很大,有新错误出现了,哇擦!!!

Cannot find entry file index.ios.js in any of the roots:[...]

悲剧了,项目跪了...55555555555555555

你可能感兴趣的:(IOS报错:CFBundleIdentifier", Does Not Exist)