gpt4 book ai didi

ios - 更新 flutter 后面临构建问题

转载 作者:行者123 更新时间:2023-12-03 04:38:06 24 4
gpt4 key购买 nike

我在反复为 iOS 设备构建时出现此错误,我尝试了很多东西但还没有解决方案。 Flutter Firebase 项目会出现此问题,并且该版本被卡住了 4 天以上。我需要更新指南以尽快解决此问题
我已经更新了 flutter ,当前版本是 flutter 1.20.3 和 Dart 2.9.2

2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The filereference for"Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"is a memberof multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only themembership in one of the groups will be preserved(but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please add anotherreference to the same path.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Views/TOCropOverlayView.h" is amember of multiplegroups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of thegroups will be preserved (butmembership in targets will be unaffected). If you want a reference to the same file in more than one group, please add anotherreference to the same path.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h"is a member ofmultiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only themembership in one of the groups will be preserved (butmembership in targets will be unaffected). If you want a reference to the same file in more than one group, please add anotherreference to the same path.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Views/TOCropScrollView.h" is amember of multiplegroups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of thegroups will be preserved (butmembership in targets will be unaffected). If you want a reference to the same file in more than one group, please add anotherreference to the same path.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Views/TOCropToolbar.h" is a memberof multiple groups("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of thegroups will be preserved (but membership intargets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the samepath.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Views/TOCropView.h" is a member ofmultiple groups("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of thegroups will be preserved (but membership intargets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the samepath.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/TOCropViewController.h" is a memberof multiple groups("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership in one of thegroups will be preserved (but membership intargets will be unaffected). If you want a reference to the same file in more than one group, please add another reference to the samepath.2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for"Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h"is amember of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only themembership in one of the groups will bepreserved (but membership in targets will be unaffected). If you want a reference to the same file in more than one group, please addanother reference to the same path.** BUILD FAILED **

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

(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.

最佳答案

这是图像裁剪器的问题,请参见此处:not able to build project in iOS
我解决它的方法是:

  • 我删除了Pods文件夹 & Podfile & Podfile.lock iOS文件夹下
  • 我跑了flutter clean & flutter packages get

  • 不行的话试试稳定 channel flutter channel stable , 然后返回 flutter channel master并在每个步骤中重复上述步骤。有时切换 channel 会出于某种原因解决问题。

    关于ios - 更新 flutter 后面临构建问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63751528/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com