无法在xcode错误条目上运行react-native项目,“:CFBundleIdentifier”,不存在

时间:2017-08-09 21:48:26

标签: ios objective-c node.js react-native npm

我是react-native的新手。我正在使用https://facebook.github.io/react-native/docs/getting-started.html这个链接配置反应原生的移动开发,并尝试使用命令react-native run-ios运行ios项目但我'我无法运行该项目。

我已经看到很多关于我的问题的链接并尝试了很多解决方案 link1 link2

React Native Build Commands Failed: PhaseScriptExecution ... (domain=NSPOSIXErrorDomain, code=2)

An application bundle was not found at the provided path... ":CFBundleIdentifier", Does Not Exist

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

日志

** BUILD FAILED **
The following build commands failed:
    CompileC /Users/macbook/feed/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/Conv.o /Users/macbook/feed/node_modules/react-native/third-party/folly-2016.09.26.00/folly/Conv.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/macbook/feed/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/StringBase.o /Users/macbook/feed/node_modules/react-native/third-party/folly-2016.09.26.00/folly/StringBase.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)

Installing build/Build/Products/Debug-iphonesimulator/feed.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/feed.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

我重新安装了节点,但总是在ios中出现问题>第三方> ios project.it的glog文件也没有在xcode中运行,并且在glog.logging.h文件中找不到错误。

Mac os version 10.12
Xcode version 8.3.3
react-native version 0.47.1
npm version
{ npm: '5.3.0',
  ares: '1.10.1-DEV',
  cldr: '30.0.3',
  http_parser: '2.7.0',
  icu: '58.2',
  modules: '57',
  node: '8.2.1',
  openssl: '1.0.2l',
  tz: '2016j',
  unicode: '9.0',
  uv: '1.13.1',
  v8: '5.8.283.41',
  zlib: '1.2.11' }

0 个答案:

没有答案