【问题标题】:cannot run flutter app on iOS simulator. Have already tried a lot of things无法在 iOS 模拟器上运行颤振应用程序。已经尝试了很多东西
【发布时间】:2020-08-22 02:51:04
【问题描述】:
Launching lib/main.dart on iPhone SE (2nd generation) in debug mode...
Running Xcode build...
Xcode build done.                                           13.8s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTCORDataFuture.h' [-Werror,-Wincomplete-umbrella]
    #import "Headers/GoogleDataTransport-umbrella.h"
    ^
    <module-includes>:1:1: error: umbrella header for module 'GoogleDataTransport' does not include header 'GDTCORStoredEvent.h' [-Werror,-Wincomplete-umbrella]
    2 errors generated.
    In file included from /Users/leozhang/Desktop/DesktopStuff/aSenior Design/BW_MOBILE_APP/AR-Tools-BW/boston_whaler_app/ios/Pods/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport/GDTCCTLibrary/GDTCOREvent+NetworkConnectionInfo.m:17:
    /Users/leozhang/Desktop/DesktopStuff/aSenior Design/BW_MOBILE_APP/AR-Tools-BW/boston_whaler_app/ios/Pods/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport/GDTCCTLibrary/Private/GDTCOREvent+NetworkConnectionInfo.h:17:9: fatal error: could not build module 'GoogleDataTransport'
    #import <GoogleDataTransport/GDTCOREvent.h>
     ~~~~~~~^
    3 errors generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone SE (2nd generation).

我已经在网上查看了几个小时的解决方案,但没有任何效果。从 cocoapods 到 googleservices-info.plist 文件在 Xcode 上发生了变化,但没有运气 :( 请帮助我 :'(

【问题讨论】:

标签: xcode flutter


【解决方案1】:

flutter clean 为我解决了这个问题。

【讨论】:

    猜你喜欢
    • 2019-05-31
    • 2020-01-07
    • 2021-06-18
    • 2021-12-16
    • 2022-08-19
    • 1970-01-01
    • 2019-05-07
    • 2021-07-09
    • 2020-01-23
    相关资源
    最近更新 更多