ios无法运行,报third-part 错误。



  • 回复: iOS RN 0.45以上版本所需的第三方编译库(boost等)
    我按照楼主的步骤在百度云下载了所有的第三方组件放在~/.rncache下,删除node_modules/然后重新run-ios
    还是报错:
    ** BUILD FAILED **

    The following build commands failed:
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/bignum-dtoa.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/double-conversion.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/double-conversion.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler

    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/strtod.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/strtod.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/bignum.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/bignum.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fast-dtoa.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/fast-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/diy-fp.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/diy-fp.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/fixed-dtoa.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/fixed-dtoa.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    CompileC /Users/qingshuai/Library/Developer/Xcode/DerivedData/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/cached-powers.o /Users/qingshuai/Desktop/reactNative/aiworks-app/node_modules/react-native/third-party/double-conversion-1.1.5/src/cached-powers.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    

    (8 failures)

    Installing build/Build/Products/Debug-iphonesimulator/Aiworks.app
    An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
    Failed to install the requested application
    The bundle identifier of the application could not be determined.
    Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
    Print: Entry, ":CFBundleIdentifier", Does Not Exist

    Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Aiworks.app/Info.plist
    Print: Entry, ":CFBundleIdentifier", Does Not Exist



  • 求助该怎么办,我搞了两天这个问题了,真的想哭。。





  • 此回复已被删除!


  • @kingamo 我知道了, 在Project setting里面, 最上面有个build system,改为Legacy Build System,麻烦晴明哥了