开发者社区> 问答> 正文

颤动无法使用Xcode11.3构建

在更新Xcode之后,我无法用Xcode构建颤振代码。

每个工具都是 Xcode版本为11.3 颤振1.12.13+热固定5·通道稳定 DART 2.7.0

日志在后面。 我该怎么解决呢?

...

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.fr
    amework/Headers/CoreMedia.h:15:10: note: in file included from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.fr
    amework/Headers/CoreMedia.h:15:
    #include <CoreMedia/CMFormatDescription.h>
             ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk/System/Library/Frameworks/CoreMedia.fr
    amework/Headers/CMFormatDescription.h:26:10: error: could not build module 'CoreAudio'
    #include <CoreAudio/CoreAudioTypes.h>
             ^
    /Users/naohide_a/Workspace/flutter/sample/ios/Runner/Runner-Bridging-Header.h:1:9: note: in file included from
    /Users/naohide_a/Workspace/flutter/sample/ios/Runner/Runner-Bridging-Header.h:1:
    #import "GeneratedPluginRegistrant.h"
            ^
    /Users/naohide_a/Workspace/flutter/sample/ios/Runner/GeneratedPluginRegistrant.h:8:9: error: could not build module 'Flutter'
    #import <Flutter/Flutter.h>
            ^
    192 errors generated.
    <unknown>:0: error: failed to emit precompiled header
    '/Users/naohide_a/Library/Developer/Xcode/DerivedData/Runner-gfrbptjupluobbdhelljevlsxpqy/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-He
    ader-swift_16EJIZIOPB8S-clang_KLU4EDN5EN1U.pch' for bridging header '/Users/naohide_a/Workspace/flutter/sample/ios/Runner/Runner-Bridging-Header.h'
    <unknown>:0: error: generate-pch command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

展开
收起
游客5akardh5cojhg 2019-12-15 17:09:14 551 0
0 条回答
写回答
取消 提交回答
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
D2前端工程下一站 IDE ——上坡&吭头 立即下载
D2前端工程下一站 IDE 立即下载
AliOS Things快速开发指南 立即下载