环境搭建问题



  • 按照首页的步骤,也看了视屏介绍,步骤一个不漏的走了一遍,但是还是在 react-native run-ios的时候报错了!
    The following commands produced analyzer issues:

    Analyze /Users/mike/Desktop/MyApp/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c
    Analyze /Users/mike/Desktop/MyApp/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c
    

    (2 commands with analyzer issues)

    The following build commands failed:
    CompileC /Users/mike/Desktop/MyApp/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/third-party.build/Objects-normal/x86_64/StringBase.o /Users/mike/Desktop/MyApp/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
    (1 failure)

    Installing build/Build/Products/Debug-iphonesimulator/MyApp.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
    这是错误提示,也看了一些解决问题的方式,但是都没用啊
    macOS 10.12.1
    react-native-cli: 2.0.1
    react-native: 0.45.0
    Xcode 8.3.1
    用Xcode打开工程后出现错误,两个文件找不到的错误,在import的时候
    求助大神,只是新手



  • 你这个是最新的rn吧?0.45,,昨晚试了下,新版本的貌似有bug,你将下版本



  • 新手想请问下怎样降版本呢


登录后回复