zoukankan      html  css  js  c++  java
  • react native

    RN新手根据官方文档跑Getting Started的例子,出现以下报错:

    ** BUILD FAILED **
    
    
    The following build commands failed:
        PhaseScriptExecution Run Script /development/misc/react/AwesomeProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
    (1 failure)
    Installing build/Build/Products/Debug-iphonesimulator/AwesomeProject.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
    /development/misc/react/AwesomeProject/node_modules/promise/lib/done.js:10
          throw err;
          ^
    
    Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/AwesomeProject.app/Info.plist
    Print: Entry, ":CFBundleIdentifier", Does Not Exist

    问题所在:"react-native": "0.45.1"国内镜像安装导致boost1.63.0folly-2016.09.26.00文件不完整。

    解决办法:重新下载boost1.63.0folly-2016.09.26.00,替换项目里的。

    下载地址:.rncache下载
    下载文件中包含了node_modules/react-native/third-party下的所有完整文件,可根据Xcode报错提示进行相应的文件替换。

    如果你Build Succeed,但仍有错误信息,以下链接可能对你有用:
    https://github.com/facebook/react-native/issues/10401



    作者:埃米莉Emily
    链接:http://www.jianshu.com/p/2d656f2a7373
    來源:简书
    著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
  • 相关阅读:
    (转)分布式系统原理
    Java常用排序
    19.Java5同步集合类的应用
    18.Java5阻塞队列的应用
    17.Java5的Exchanger同步工具
    16.Java5的CountDownLatch同步工具
    15.Java5的CyclicBarrier同步工具
    14.Java5的Semaphere同步工具
    13.Java5条件阻塞Condition的应用
    Docker部署JavaWeb项目实战
  • 原文地址:https://www.cnblogs.com/shihao905/p/7441158.html
Copyright © 2011-2022 走看看