当本机运行iOS时,本机构建在ios上失败

时间:2020-07-15 17:54:35

标签: react-native

当我尝试在ios模拟器上运行应用程序时,出现了此错误。谁能指导我解决此问题的原因/解决方案。

以下构建命令失败: CompileC /用户/ xxx /库/开发人员/Xcode/DerivedData/eattog-dfbqbeyhmbgzhfcodvhlcaqjxepf/Build/Intermediates.noindex/P ods.build/Debug-iphonesimulator/ReactCommon.build/Objects-normal/x86_64/RCTTurboModuleManager.o /Users/xxx/Documents/React-Native-Projects/eattog/node_modules/react-native/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm普通x86_64 Objective-c ++ com.apple.compilers.llvm.clang.1_0 .compiler

谢谢

1 个答案:

答案 0 :(得分:0)

只需插入到 Podfile 的末尾:

    ListWidget:
        id: outputcontent
        viewclass: 'LabelAndButton'  # use the new class
        orientation: 'vertical'


        RecycleBoxLayout:
            default_size: None,dp(56)
            default_size_hint: 0.4,None
            size_hint_y: None
            height:self.minimum_height
            orientation: 'vertical'
            
<LabelAndButton>:
    cols:2
    Label:
        text: root.text
    Button:
        text: root.text