Flutter Mac OS Build错误如何解决错误?

时间:2020-10-17 18:27:12

标签: macos flutter build

构建失败的日志:

** BUILD FAILED **

Xcode的输出: ↳ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8:10:警告:框架标头中双引号包括“ FlutterAppDelegate.h”,请用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterAppDelegate.h” ^ ~~~~~~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:10:10:警告:框架标头中双引号包括“ FlutterMacros.h”,用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterMacros.h” ^ ~~~~~~~~~~~~~~~~ /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:10:警告:框架标头中双引号包括“ FlutterPlugin.h”,应用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterPlugin.h” ^ ~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11:10:警告:双引号在框架标头中包含“ FlutterBinaryMessenger.h”,并用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterBinaryMessenger.h” ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:11中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterBinaryMessenger.h:10:10:警告:在框架标头中双引号包括“ FlutterMacros.h”,用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterMacros.h” ^ ~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12:10:警告:框架标头中的双引号包括“ FlutterChannels.h”,用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterChannels.h” ^ ~~~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:8:10:警告:框架标头中的双引号包括“ FlutterBinaryMessenger.h”,用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterBinaryMessenger.h” ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9:10:警告:框架标头中双引号包括“ FlutterCodecs.h”,用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterCodecs.h” ^ ~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:12中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:9中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterCodecs.h:9:10:警告:框架标头中双引号包括“ FlutterMacros.h”,请用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterMacros.h” ^ ~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:13:10:警告:框架标头中双引号包括“ FlutterCodecs.h”,请用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterCodecs.h” ^ ~~~~~~~~~~~~~~~~ /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14:10:警告:在框架标头中双引号包括“ FlutterPlatformViews.h”,应用尖括号括起来[ -Wquoted-include-in-framework-header] #include“ FlutterPlatformViews.h” ^ ~~~~~~~~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:14中包含的文件中: /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:10:9:警告:框架标头中双引号包括“ FlutterCodecs.h”,应用尖括号括起来[ -Wquoted-include-in-framework-header] #import“ FlutterCodecs.h” ^ ~~~~~~~~~~~~~~~~ /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPlatformViews.h:11:9:警告:框架标头中双引号包括“ FlutterMacros.h”,应用尖括号括起来[ -Wquoted-include-in-framework-header] #import“ FlutterMacros.h” ^ ~~~~~~~~~~~~~~~~ 在构建从/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5导入的模块“ Flutter”时: 在包含于:1的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:8中包含的文件中: 在/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11中包含的文件中:

/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:16:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterMacros.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:17:10: warning: double-quoted include "FlutterPlatformViews.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlatformViews.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~
         <Flutter/FlutterPlatformViews.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:18:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterPlugin.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:10: warning: double-quoted include "FlutterPluginAppLifeCycleDelegate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPluginAppLifeCycleDelegate.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         <Flutter/FlutterPluginAppLifeCycleDelegate.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:19:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:8:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterPlugin.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:20:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterTexture.h"
         ^~~~~~~~~~~~~~~~~~
         <Flutter/FlutterTexture.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:10: warning: double-quoted include "FlutterViewController.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterViewController.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~
         <Flutter/FlutterViewController.h>
While building module 'Flutter' imported from /Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+2/ios/Classes/FLTSharedPreferencesPlugin.h:5:
In file included from <module-includes>:1:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/Flutter.h:21:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:11:10: warning: double-quoted include "FlutterBinaryMessenger.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterBinaryMessenger.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
         <Flutter/FlutterBinaryMessenger.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:12:10: warning: double-quoted include "FlutterDartProject.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterDartProject.h"
         ^~~~~~~~~~~~~~~~~~~~~~
         <Flutter/FlutterDartProject.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:13:10: warning: double-quoted include "FlutterEngine.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterEngine.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterEngine.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:14:10: warning: double-quoted include "FlutterMacros.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterMacros.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterMacros.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:15:10: warning: double-quoted include "FlutterPlugin.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterPlugin.h"
         ^~~~~~~~~~~~~~~~~
         <Flutter/FlutterPlugin.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Flutter/Flutter.framework/Headers/FlutterViewController.h:16:10: warning: double-quoted include "FlutterTexture.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#include "FlutterTexture.h"
         ^~~~~~~~~~~~~~~~~~
         <Flutter/FlutterTexture.h>
46 warnings generated.
46 warnings generated.
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:45:52: warning: assigning to 'id<IAPPromotionObserverDelegate>' from incompatible type 'FlutterInappPurchasePlugin *__strong'
    [IAPPromotionObserver sharedObserver].delegate = self;
                                                   ^ ~~~~
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:200:79: warning: implicit conversion loses integer precision: 'SKPaymentTransactionState' (aka 'enum SKPaymentTransactionState') to 'int' [-Wshorten-64-to-32]
                                                     [NSNumber numberWithInt: item.transactionState], @"transactionStateIOS",
                                                     ~                        ^~~~~~~~~~~~~~~~~~~~~
/Users/muratapps/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inapp_purchase-2.3.2/ios/Classes/FlutterInappPurchasePlugin.m:590:71: warning: implicit conversion loses integer precision: 'SKPaymentTransactionState' (aka 'enum SKPaymentTransactionState') to 'int' [-Wshorten-64-to-32]
                                             [NSNumber numberWithInt: transaction.transactionState], @"transactionStateIOS",
                                             ~                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBWrappers.pbobjc.m:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:9: warning: double-quoted include "GPBArray.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBArray.h"
        ^~~~~~~~~~~~
        <GPBArray.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:33:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBArray.h:33:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
        ^~~~~~~~~~~~~~~~~~~
        <GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:33:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:34:9: warning: double-quoted include "GPBMessage.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBMessage.h"
        ^~~~~~~~~~~~~~
        <GPBMessage.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:35:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
        ^~~~~~~~~~~~~~~~~~~
        <GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBStruct.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:40:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities_PackagePrivate.h:35:9: warning: double-quoted include "GPBDescriptor_PackagePrivate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor_PackagePrivate.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        <GPBDescriptor_PackagePrivate.h>
22 warnings generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBSourceContext.pbobjc.m:11:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:34:9: warning: double-quoted include "GPBBootstrap.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBBootstrap.h"
        ^~~~~~~~~~~~~~~~
        <GPBBootstrap.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:34:9: warning: double-quoted include "GPBBootstrap.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBBootstrap.h"
        ^~~~~~~~~~~~~~~~
        <GPBBootstrap.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:9: warning: double-quoted include "GPBDescriptor_PackagePrivate.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor_PackagePrivate.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        <GPBDescriptor_PackagePrivate.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:9: warning: double-quoted include "GPBDescriptor.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBDescriptor.h"
        ^~~~~~~~~~~~~~~~~
        <GPBDescriptor.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor.h:33:9: warning: double-quoted include "GPBRuntimeTypes.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBRuntimeTypes.h"
        ^~~~~~~~~~~~~~~~~~~
        <GPBRuntimeTypes.h>
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBAny.pbobjc.m:11:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBProtocolBuffers_RuntimeSupport.h:36:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor_PackagePrivate.h:35:
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBDescriptor.h:33:


/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Protobuf/objectivec/GPBUtilities.h:33:9: warning: double-quoted include "GPBArray.h" in framework header, expected angle-bracketed instead [-Wquoted-include-in-framework-header]
#import "GPBArray.h"
        ^~~~~~~~~~~~
        <GPBArray.h>
In file included from 
        ^~~~~~~~~~~~~
        <pb_encode.h>
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/Target Support Files/nanopb/nanopb-umbrella.h:22:9: error: double-quoted include "pb_common.h" in framework header, expected angle-bracketed instead [-Werror,-Wquoted-include-in-framework-header]
#import "pb_common.h"
        ^~~~~~~~~~~~~
        <pb_common.h>
13 errors generated.
In file included from /Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/Protogen/nanopb/cct.nanopb.c:20:
/Users/muratapps/Documents/MobileProjects/flutter_app/ios/Pods/GoogleDataTransport/GoogleDataTransport/GDTCCTLibrary/Protogen/nanopb/cct.nanopb.h:22:10: fatal error: could not build module 'nanopb'
#include <nanopb/pb.h>
 ~~~~~~~~^
14 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'GoogleDataTransport' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'url_launcher' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'path_provider' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'shared_preferences' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'device_info' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'package_info' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'flutter_inapp_purchase' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'nanopb' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Toast' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Protobuf' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'fluttertoast' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'GoogleUtilities' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'Firebase' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FirebaseCore' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FirebaseMessaging' from project 'Pods')
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 
warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99. (in target 'FirebaseInstallations' from project 'Pods')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')

无法为模拟器构建应用程序。 在iPhone SE(第二代)上启动应用程序时出错。

2 个答案:

答案 0 :(得分:2)

这似乎是由建议的构建设置引起的cocoapods问题。已在CocoaPods / CocoaPods#9905处修复了该漏洞,并针对CocoaPods 1.10进行了修复。作为(临时)解决方法,您可以将Pod项目构建设置中的“框架标头中包含引用的内容”设置为“否”。

答案 1 :(得分:2)

我也遇到了这个。为了更清楚地搜索哪里: 在您的颤振项目中,转到: IOS - Runner.xcodeproj --> 打开文件:project.pbxproj 搜索此值:CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 将其更改为:CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO;

重新运行您的项目构建。 构建可能会失败。在这种情况下,清除调试构建目录中的所有内容: ...yourapp/build/ios/Debug-ihponeos