问题描述
我在反复为 Flutter 构建 iOS 设备时出现此错误,我尝试了很多方法但还没有解决方案.此问题发生在 flutter firebase 项目中,并且发布卡住了 4 天以上.我需要更新指南以尽快解决此问题
I am this error while building for device for iOS in flutter repeatedly, I have tried many things but no resolution yet. This issue is occurring with flutter firebase project and the release is stuck for more than 4 days. I need updated guide for me to resolve this issue as soon as possible
我已经更新了 Flutter,当前版本是 Flutter 1.20.3 和 dart 2.9.2
I have updated the flutter and current versions are Flutter 1.20.3 and dart 2.9.2
2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"是会员多个组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有将保留其中一个组的成员资格(但目标成员资格不受影响).如果您想在多个组中引用同一个文件,请添加另一个引用相同的路径.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Views/TOCropOverlayView.h"是一个多个成员组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中之一的成员组将被保留(但目标中的成员资格将不受影响).如果您想在多个组中引用同一个文件,请添加另一个引用相同的路径.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h"是会员多个组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有将保留其中一个组的成员资格(但目标中的成员资格将不受影响).如果您想在多个组中引用同一个文件,请添加另一个引用相同的路径.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Views/TOCropScrollView.h"是一个多个成员组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中之一的成员组将被保留(但目标中的成员资格将不受影响).如果您想在多个组中引用同一个文件,请添加另一个引用相同的路径.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Views/TOCropToolbar.h"是会员多组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中之一的成员组将被保留(但成员资格目标不受影响).如果您想在多个组中引用同一个文件,请添加另一个对同一文件的引用小路.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Views/TOCropView.h"是会员多组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中之一的成员组将被保留(但成员资格目标不受影响).如果您想在多个组中引用同一个文件,请添加另一个对同一文件的引用小路.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/TOCropViewController.h"是会员多组(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中之一的成员组将被保留(但成员资格目标不受影响).如果您想在多个组中引用同一个文件,请添加另一个对同一文件的引用小路.2020-09-05 12:53:42.052 xcodebuild[72084:478348] 警告:文件参考Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h"是一个多个组的成员(TOCropViewController"和TOCropViewController");这表明一个畸形的项目.只有其中一个组的成员资格将是保留(但目标中的成员资格将不受影响).如果您想在多个组中引用同一个文件,请添加对同一路径的另一个引用.** 构建失败 **
Xcode 的输出: ↳在/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26 包含的文件中:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:警告:传递给@param"的空段落命令 [-W 文档]@param sharedStyle~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:警告:传递给@param"的空段落命令 [-W 文档]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:警告:未找到参数allowTapToDismiss"在函数声明中 [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:注意:您的意思是tapToDismissEnabled"吗?@param allowTapToDismiss^~~~~~~~~~~~~~~~~点击关闭已启用/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:警告:传递给@param"的空段落命令 [-W 文档]@param queueEnabled~~~~~~~~~~~~~~~~~~~~~^生成了 4 个警告.在/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26 包含的文件中:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:警告:传递给@param"的空段落命令 [-W 文档]@param sharedStyle~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:警告:传递给@param"的空段落命令 [-W 文档]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:警告:未找到参数allowTapToDismiss"在函数声明中 [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:注意:您的意思是tapToDismissEnabled"吗?@param allowTapToDismiss^~~~~~~~~~~~~~~~~点击关闭已启用/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:警告:传递给@param"的空段落命令 [-W 文档]@param queueEnabled~~~~~~~~~~~~~~~~~~~~~^生成了 4 个警告.在/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2 包含的文件中:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:警告:传递给@param"的空段落命令 [-W 文档]@param sharedStyle~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:警告:传递给@param"的空段落命令 [-W 文档]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:警告:未找到参数allowTapToDismiss"在函数声明中 [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:注意:您的意思是tapToDismissEnabled"吗?@param allowTapToDismiss^~~~~~~~~~~~~~~~~点击关闭已启用/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:警告:传递给@param"的空段落命令 [-W 文档]@param queueEnabled~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:警告:未使用的变量viewController"[-Wunused-变量]UIViewController *viewController =^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:警告:未使用的变量topPadding"[-Wunused-变量]CGFloat topPadding = window.safeAreaInsets.top;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:警告:未使用的变量bottomPadding"[-Wunused-变量]CGFloat bottomPadding = window.safeAreaInsets.bottom;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:警告:未使用的变量大小"[-Wunused-变量]NSNumber *size = call.arguments[@size"];^生成了 8 个警告.在/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2 包含的文件中:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:警告:传递给@param"的空段落命令 [-W 文档]@param sharedStyle~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:警告:传递给@param"的空段落命令 [-W 文档]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:警告:未找到参数allowTapToDismiss"在函数声明中 [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:注意:您的意思是tapToDismissEnabled"吗?@param allowTapToDismiss^~~~~~~~~~~~~~~~~点击关闭已启用/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:警告:传递给@param"的空段落命令 [-W 文档]@param queueEnabled~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:警告:未使用的变量viewController"[-Wunused-变量]UIViewController *viewController =^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:警告:未使用的变量topPadding"[-Wunused-变量]CGFloat topPadding = window.safeAreaInsets.top;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:警告:未使用的变量bottomPadding"[-Wunused-变量]CGFloat bottomPadding = window.safeAreaInsets.bottom;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:警告:未使用的变量大小"[-Wunused-变量]NSNumber *size = call.arguments[@size"];^生成了 8 个警告.生成了 6 个警告./Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:195:43:警告:不推荐使用FIRMessagingRemoteMessage":不推荐使用 FCM 直接通道,请使用 APNs 进行下游消息处理.[-Wdeprecated-声明]- (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage*)远程消息{^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:注意:FIRMessagingRemoteMessage"已明确此处标记为弃用__deprecated_msg(^在从/Users/vickky/Documents/project1/ios/Pods/Target Support 导入的模块UIKit"中文件/firebase_messaging/firebase_messaging-prefix.pch:2:在从导入的模块基础"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:在从导入的模块CoreFoundation"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:在从导入的模块达尔文"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun日期.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:注意:从宏扩展'__deprecated_msg'#define __deprecated_msg(_msg) 属性((不推荐使用(_msg)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:307:24:警告:不推荐使用FIRMessagingRemoteMessage":不推荐使用 FCM 直接通道,请使用 APNs 进行下游消息处理.[-Wdeprecated-声明]didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:注意:FIRMessagingRemoteMessage"已明确此处标记为弃用__deprecated_msg(^在从/Users/vickky/Documents/project1/ios/Pods/Target Support 导入的模块UIKit"中文件/firebase_messaging/firebase_messaging-prefix.pch:2:在从导入的模块基础"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:在从导入的模块CoreFoundation"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:在从导入的模块达尔文"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun日期.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:注意:从宏扩展'__deprecated_msg'#define __deprecated_msg(_msg) 属性((不推荐使用(_msg)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:141:30:警告:'shouldEstablishDirectChannel' 已弃用:FCM 直接通道已弃用,请使用 APNs 通道进行下游消息送货.[-Wdeprecated-声明][FIRMessaging 消息].shouldEstablishDirectChannel = true;^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56:注意: 'shouldEstablishDirectChannel' 已经此处明确标记为已弃用@property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(^在从/Users/vickky/Documents/project1/ios/Pods/Target Support 导入的模块UIKit"中文件/firebase_messaging/firebase_messaging-prefix.pch:2:在从导入的模块基础"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:在从导入的模块CoreFoundation"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:在从导入的模块达尔文"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun日期.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:182:64:注意:从宏扩展'DEPRECATED_MSG_ATTRIBUTE'#define DEPRECATED_MSG_ATTRIBUTE(s) attribute((deprecated(s)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:警告:'appData' 是已弃用 [-Wdeprecated-declarations][self didReceiveRemoteNotification:remoteMessage.appData];^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:注意:appData"已被明确标记为已弃用这里@property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;^在从/Users/vickky/Documents/project1/ios/Pods/Target Support 导入的模块UIKit"中文件/firebase_messaging/firebase_messaging-prefix.pch:2:在从导入的模块基础"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:在从导入的模块CoreFoundation"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:在从导入的模块达尔文"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun日期.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:注意:从宏扩展'DEPRECATED_ATTRIBUTE'#define DEPRECATED_ATTRIBUTE 属性((已弃用))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:306:1:警告:实施不推荐使用的方法 [-Wdeprecated-implementations]- (void)messaging:(FIRMessaging *)messaging^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1:注意:方法 'messaging:didReceiveMessage:' 已声明这里- (void)messaging:(FIRMessaging *)messaging^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:警告:'appData' 是已弃用 [-Wdeprecated-declarations][_channel invokeMethod:@onMessage";参数:remoteMessage.appData];^在从/Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72 导入的模块FirebaseMessaging"中:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:注意:appData"已被明确标记为已弃用这里@property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;^在从/Users/vickky/Documents/project1/ios/Pods/Target Support 导入的模块UIKit"中文件/firebase_messaging/firebase_messaging-prefix.pch:2:在从导入的模块基础"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:在从导入的模块CoreFoundation"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:在从导入的模块达尔文"中/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun日期.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:注意:从宏扩展'DEPRECATED_ATTRIBUTE'#define DEPRECATED_ATTRIBUTE 属性((已弃用))^生成了 6 个警告.已生成 1 个警告.子集字体失败;正在中止.
Xcode's output: ↳In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param sharedStyle~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:warning: parameter 'allowTapToDismiss' not foundin the function declaration [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:note: did you mean 'tapToDismissEnabled'?@param allowTapToDismiss^~~~~~~~~~~~~~~~~tapToDismissEnabled/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param queueEnabled~~~~~~~~~~~~~~~~~~^4 warnings generated.In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.m:26:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param sharedStyle~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:warning: parameter 'allowTapToDismiss' not foundin the function declaration [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:note: did you mean 'tapToDismissEnabled'?@param allowTapToDismiss^~~~~~~~~~~~~~~~~tapToDismissEnabled/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param queueEnabled~~~~~~~~~~~~~~~~~~^4 warnings generated.In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param sharedStyle~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:warning: parameter 'allowTapToDismiss' not foundin the function declaration [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:note: did you mean 'tapToDismissEnabled'?@param allowTapToDismiss^~~~~~~~~~~~~~~~~tapToDismissEnabled/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param queueEnabled~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:warning: unused variable 'viewController'[-Wunused-variable]UIViewController *viewController =^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:warning: unused variable 'topPadding'[-Wunused-variable]CGFloat topPadding = window.safeAreaInsets.top;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:warning: unused variable 'bottomPadding'[-Wunused-variable]CGFloat bottomPadding = window.safeAreaInsets.bottom;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:warning: unused variable 'size'[-Wunused-variable]NSNumber *size = call.arguments[@"size"];^8 warnings generated.In file included from /Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param sharedStyle~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param allowTapToDismiss~~~~~~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:warning: parameter 'allowTapToDismiss' not foundin the function declaration [-Wdocumentation]@param allowTapToDismiss^~~~~~~~~~~~~~~~~/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:note: did you mean 'tapToDismissEnabled'?@param allowTapToDismiss^~~~~~~~~~~~~~~~~tapToDismissEnabled/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:warning: empty paragraph passed to '@param'command [-Wdocumentation]@param queueEnabled~~~~~~~~~~~~~~~~~~^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:warning: unused variable 'viewController'[-Wunused-variable]UIViewController *viewController =^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:warning: unused variable 'topPadding'[-Wunused-variable]CGFloat topPadding = window.safeAreaInsets.top;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:warning: unused variable 'bottomPadding'[-Wunused-variable]CGFloat bottomPadding = window.safeAreaInsets.bottom;^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:warning: unused variable 'size'[-Wunused-variable]NSNumber *size = call.arguments[@"size"];^8 warnings generated.6 warnings generated./Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:195:43:warning:'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.[-Wdeprecated-declarations]- (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage*)remoteMessage {^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:note: 'FIRMessagingRemoteMessage' has been explicitlymarked deprecated here__deprecated_msg(^In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target SupportFiles/firebase_messaging/firebase_messaging-prefix.pch:2:In module 'Foundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:In module 'CoreFoundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In module 'Darwin' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:note: expanded from macro'__deprecated_msg'#define __deprecated_msg(_msg) attribute((deprecated(_msg)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:307:24:warning:'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.[-Wdeprecated-declarations]didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:note: 'FIRMessagingRemoteMessage' has been explicitlymarked deprecated here__deprecated_msg(^In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target SupportFiles/firebase_messaging/firebase_messaging-prefix.pch:2:In module 'Foundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:In module 'CoreFoundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In module 'Darwin' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:note: expanded from macro'__deprecated_msg'#define __deprecated_msg(_msg) attribute((deprecated(_msg)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:141:30:warning:'shouldEstablishDirectChannel' is deprecated: FCM direct channel is deprecated, please use APNs channel for downstream messagedelivery. [-Wdeprecated-declarations][FIRMessaging messaging].shouldEstablishDirectChannel = true;^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56:note: 'shouldEstablishDirectChannel' has beenexplicitly marked deprecated here@property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(^In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target SupportFiles/firebase_messaging/firebase_messaging-prefix.pch:2:In module 'Foundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:In module 'CoreFoundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In module 'Darwin' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:182:64:note: expanded from macro'DEPRECATED_MSG_ATTRIBUTE'#define DEPRECATED_MSG_ATTRIBUTE(s) attribute((deprecated(s)))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:warning: 'appData' isdeprecated [-Wdeprecated-declarations][self didReceiveRemoteNotification:remoteMessage.appData];^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:note: 'appData' has been explicitly marked deprecatedhere@property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;^In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target SupportFiles/firebase_messaging/firebase_messaging-prefix.pch:2:In module 'Foundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:In module 'CoreFoundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In module 'Darwin' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:note: expanded from macro'DEPRECATED_ATTRIBUTE'#define DEPRECATED_ATTRIBUTE attribute((deprecated))^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:306:1:warning: implementingdeprecated method [-Wdeprecated-implementations]- (void)messaging:(FIRMessaging *)messaging^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1:note: method 'messaging:didReceiveMessage:' declaredhere- (void)messaging:(FIRMessaging *)messaging^/Users/vickky/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:warning: 'appData' isdeprecated [-Wdeprecated-declarations][_channel invokeMethod:@"onMessage" arguments:remoteMessage.appData];^In module 'FirebaseMessaging' imported from /Users/vickky/Documents/project1/ios/Pods/Headers/Public/Firebase/Firebase.h:72:/Users/vickky/Documents/project1/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:note: 'appData' has been explicitly marked deprecatedhere@property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;^In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target SupportFiles/firebase_messaging/firebase_messaging-prefix.pch:2:In module 'Foundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:In module 'CoreFoundation' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:In module 'Darwin' imported from/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:note: expanded from macro'DEPRECATED_ATTRIBUTE'#define DEPRECATED_ATTRIBUTE attribute((deprecated))^6 warnings generated.1 warning generated.Failed to subset font; aborting.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Skipping duplicate build file in Copy Headers build phase:
/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h
(在目标TOCropViewController"中来自项目豆荚")警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropOverlayView.h(在项目的目标TOCropViewController"中'豆荚')警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h(在目标TOCropViewController"中项目豆荚")警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropScrollView.h(在项目的目标TOCropViewController"中'豆荚')警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.h(在项目的目标TOCropViewController"中'豆荚')警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropView.h(在项目Pods"的目标TOCropViewController"中)警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/TOCropViewController.h(在项目的目标TOCropViewController"中'豆荚')警告:在复制标头构建阶段跳过重复的构建文件:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h(在目标来自项目Pods"的TOCropViewController")
(in target 'TOCropViewController'from project 'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropOverlayView.h(in target 'TOCropViewController' from project'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h(in target 'TOCropViewController' fromproject 'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropScrollView.h(in target 'TOCropViewController' from project'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.h(in target 'TOCropViewController' from project'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropView.h(in target 'TOCropViewController' from project 'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/TOCropViewController.h(in target 'TOCropViewController' from project'Pods')warning: Skipping duplicate build file in Copy Headers build phase:/Users/vickky/Documents/project1/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h(in target'TOCropViewController' from project 'Pods')
为设备构建时遇到错误.
Encountered error while building for device.
推荐答案
这是图像裁剪器的问题,请参见此处:无法在 iOS 中构建项目
This is an issue with the image cropper see here: not able to build project in iOS
我解决的方法是:
- 我删除了
Pods
文件夹 &Podfile
&Podfile.lock
iOS 文件夹下 - 我运行了
flutter clean
&flutter 包获取
- I deleted the
Pods
folder &Podfile
&Podfile.lock
under the iOS folder - I ran
flutter clean
&flutter packages get
如果不行,试试稳定通道flutter channel stable
,然后回到flutter channel master
,每一步重复上面的步骤.有时切换频道会因某种原因解决问题.
If it doesn't work, try the stable channel flutter channel stable
, and then go back to flutter channel master
and repeat the steps above in each step. Sometimes switching channels fixes things for some reason.
这篇关于更新颤振后面临构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!