title: Encountered error while building for device - flutter
body: <p>Encountered error while building for device for iOS in flutter, 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. please guide me to resolve this issue as soon as possible</p>
  <pre><code>&gt; Error output from Xcode build: ↳
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h&quot;
  &gt; is a member of
  &gt;     multiple groups (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the
  &gt; membership in one of the groups will be preserved (but
  &gt;     membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another
  &gt; reference to the same path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/Views/TOCropOverlayView.h&quot; is a
  &gt; member of multiple
  &gt;     groups (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the membership in one of the
  &gt; groups will be preserved (but
  &gt;     membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another
  &gt; reference to the same path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h&quot;
  &gt; is a member of
  &gt;     multiple groups (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the
  &gt; membership in one of the groups will be preserved (but
  &gt;     membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another
  &gt; reference to the same path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/Views/TOCropScrollView.h&quot; is a
  &gt; member of multiple
  &gt;     groups (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the membership in one of the
  &gt; groups will be preserved (but
  &gt;     membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another
  &gt; reference to the same path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for &quot;Objective-C/TOCropViewController/Views/TOCropToolbar.h&quot;
  &gt; is a member of multiple groups
  &gt;     (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the membership in one of the
  &gt; groups will be preserved (but membership in
  &gt;     targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same
  &gt; path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for &quot;Objective-C/TOCropViewController/Views/TOCropView.h&quot; is
  &gt; a member of multiple groups
  &gt;     (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the membership in one of the
  &gt; groups will be preserved (but membership in
  &gt;     targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same
  &gt; path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/TOCropViewController.h&quot; is a member
  &gt; of multiple groups
  &gt;     (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the membership in one of the
  &gt; groups will be preserved (but membership in
  &gt;     targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same
  &gt; path.
  &gt;     2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning:  The file reference for
  &gt; &quot;Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h&quot;
  &gt; is a member
  &gt;     of multiple groups (&quot;TOCropViewController&quot; and &quot;TOCropViewController&quot;); this indicates a malformed project.  Only the
  &gt; membership in one of the groups will be preserved
  &gt;     (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another
  &gt; reference to the same path.
  &gt;     ** BUILD FAILED **
  &gt; 
  &gt; 
  &gt; Xcode's output: ↳
  &gt;     In file included from /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param sharedStyle
  &gt;      ~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param allowTapToDismiss
  &gt;      ~~~~~~~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
  &gt; warning: parameter 'allowTapToDismiss' not found
  &gt;     in the function declaration [-Wdocumentation]
  &gt;      @param allowTapToDismiss
  &gt;             ^~~~~~~~~~~~~~~~~
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
  &gt; note: did you mean 'tapToDismissEnabled'?
  &gt;      @param allowTapToDismiss
  &gt;             ^~~~~~~~~~~~~~~~~
  &gt;             tapToDismissEnabled
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param queueEnabled
  &gt;      ~~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:
  &gt; warning: unused variable 'viewController'
  &gt;     [-Wunused-variable]
  &gt;         UIViewController *viewController =
  &gt;                           ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:
  &gt; warning: unused variable 'topPadding'
  &gt;     [-Wunused-variable]
  &gt;                 CGFloat topPadding = window.safeAreaInsets.top;
  &gt;                         ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:
  &gt; warning: unused variable 'bottomPadding'
  &gt;     [-Wunused-variable]
  &gt;                 CGFloat bottomPadding = window.safeAreaInsets.bottom;
  &gt;                         ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:
  &gt; warning: unused variable 'size'
  &gt;     [-Wunused-variable]
  &gt;             NSNumber *size = call.arguments[@&quot;size&quot;];
  &gt;                       ^
  &gt;     8 warnings generated.
  &gt;     In file included from /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:328:19:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param sharedStyle
  &gt;      ~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:25:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param allowTapToDismiss
  &gt;      ~~~~~~~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
  &gt; warning: parameter 'allowTapToDismiss' not found
  &gt;     in the function declaration [-Wdocumentation]
  &gt;      @param allowTapToDismiss
  &gt;             ^~~~~~~~~~~~~~~~~
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
  &gt; note: did you mean 'tapToDismissEnabled'?
  &gt;      @param allowTapToDismiss
  &gt;             ^~~~~~~~~~~~~~~~~
  &gt;             tapToDismissEnabled
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:362:20:
  &gt; warning: empty paragraph passed to '@param'
  &gt;     command [-Wdocumentation]
  &gt;      @param queueEnabled
  &gt;      ~~~~~~~~~~~~~~~~~~^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:20:23:
  &gt; warning: unused variable 'viewController'
  &gt;     [-Wunused-variable]
  &gt;         UIViewController *viewController =
  &gt;                           ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:99:21:
  &gt; warning: unused variable 'topPadding'
  &gt;     [-Wunused-variable]
  &gt;                 CGFloat topPadding = window.safeAreaInsets.top;
  &gt;                         ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:100:21:
  &gt; warning: unused variable 'bottomPadding'
  &gt;     [-Wunused-variable]
  &gt;                 CGFloat bottomPadding = window.safeAreaInsets.bottom;
  &gt;                         ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:73:19:
  &gt; warning: unused variable 'size'
  &gt;     [-Wunused-variable]
  &gt;             NSNumber *size = call.arguments[@&quot;size&quot;];
  &gt;                       ^
  &gt;     8 warnings generated.
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:195:43:
  &gt; warning:
  &gt;     'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
  &gt; [-Wdeprecated-declarations]
  &gt;     - (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage
  &gt; *)remoteMessage {
  &gt;                                               ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
  &gt; note: 'FIRMessagingRemoteMessage' has been explicitly
  &gt;     marked deprecated here
  &gt;     __deprecated_msg(
  &gt;     ^
  &gt;     In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
  &gt; Files/firebase_messaging/firebase_messaging-prefix.pch:2:
  &gt;     In module 'Foundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
  &gt;     In module 'CoreFoundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
  &gt;     :6:
  &gt;     In module 'Darwin' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
  &gt;     dation.h:16:
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:
  &gt; note: expanded from macro
  &gt;     '__deprecated_msg'
  &gt;             #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  &gt;                                                           ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:307:24:
  &gt; warning:
  &gt;     'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
  &gt; [-Wdeprecated-declarations]
  &gt;         didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {
  &gt;                            ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
  &gt; note: 'FIRMessagingRemoteMessage' has been explicitly
  &gt;     marked deprecated here
  &gt;     __deprecated_msg(
  &gt;     ^
  &gt;     In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
  &gt; Files/firebase_messaging/firebase_messaging-prefix.pch:2:
  &gt;     In module 'Foundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
  &gt;     In module 'CoreFoundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
  &gt;     :6:
  &gt;     In module 'Darwin' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
  &gt;     dation.h:16:
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/sys/cdefs.h:191:48:
  &gt; note: expanded from macro
  &gt;     '__deprecated_msg'
  &gt;             #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
  &gt;                                                           ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:141:30:
  &gt; warning:
  &gt;     'shouldEstablishDirectChannel' is deprecated: FCM direct channel is deprecated, please use APNs channel for downstream message
  &gt; delivery. [-Wdeprecated-declarations]
  &gt;         [FIRMessaging messaging].shouldEstablishDirectChannel = true;
  &gt;                                  ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56:
  &gt; note: 'shouldEstablishDirectChannel' has been
  &gt;     explicitly marked deprecated here
  &gt;     @property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
  &gt;                                                            ^
  &gt;     In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
  &gt; Files/firebase_messaging/firebase_messaging-prefix.pch:2:
  &gt;     In module 'Foundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
  &gt;     In module 'CoreFoundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
  &gt;     :6:
  &gt;     In module 'Darwin' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
  &gt;     dation.h:16:
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:182:64:
  &gt; note: expanded from macro
  &gt;     'DEPRECATED_MSG_ATTRIBUTE'
  &gt;                 #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
  &gt;                                                                    ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:
  &gt; warning: 'appData' is
  &gt;     deprecated [-Wdeprecated-declarations]
  &gt;       [self didReceiveRemoteNotification:remoteMessage.appData];
  &gt;                                                        ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
  &gt; note: 'appData' has been explicitly marked deprecated
  &gt;     here
  &gt;     @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
  &gt;                                                                  ^
  &gt;     In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
  &gt; Files/firebase_messaging/firebase_messaging-prefix.pch:2:
  &gt;     In module 'Foundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
  &gt;     In module 'CoreFoundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
  &gt;     :6:
  &gt;     In module 'Darwin' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
  &gt;     dation.h:16:
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:
  &gt; note: expanded from macro
  &gt;     'DEPRECATED_ATTRIBUTE'
  &gt;             #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
  &gt;                                                                ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:306:1:
  &gt; warning: implementing
  &gt;     deprecated method [-Wdeprecated-implementations]
  &gt;     - (void)messaging:(FIRMessaging *)messaging
  &gt;     ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1:
  &gt; note: method 'messaging:didReceiveMessage:' declared
  &gt;     here
  &gt;     - (void)messaging:(FIRMessaging *)messaging
  &gt;     ^
  &gt;     /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:
  &gt; warning: 'appData' is
  &gt;     deprecated [-Wdeprecated-declarations]
  &gt;       [_channel invokeMethod:@&quot;onMessage&quot; arguments:remoteMessage.appData];
  &gt;                                                                   ^
  &gt;     In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
  &gt; note: 'appData' has been explicitly marked deprecated
  &gt;     here
  &gt;     @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
  &gt;                                                                  ^
  &gt;     In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
  &gt; Files/firebase_messaging/firebase_messaging-prefix.pch:2:
  &gt;     In module 'Foundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
  &gt;     In module 'CoreFoundation' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h
  &gt;     :6:
  &gt;     In module 'Darwin' imported from
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoun
  &gt;     dation.h:16:
  &gt;     /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk/usr/include/AvailabilityMacros.h:180:60:
  &gt; note: expanded from macro
  &gt;     'DEPRECATED_ATTRIBUTE'
  &gt;             #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
  &gt;                                                                ^
  &gt;     6 warnings generated.
  &gt;     6 warnings generated.
  &gt;     1 warning generated.
  &gt;     Failed to subset font; aborting.
  &gt; 
  &gt; 
  &gt;     Command PhaseScriptExecution failed with a nonzero exit code
  &gt;     note: Using new build system
  &gt;     note: Building targets in parallel
  &gt;     note: Planning build
  &gt;     note: Constructing build description
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h
  &gt; (in target 'TOCropViewController'
  &gt;     from project 'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropOverlayView.h
  &gt; (in target 'TOCropViewController' from project
  &gt;     'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h
  &gt; (in target 'TOCropViewController' from
  &gt;     project 'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropScrollView.h
  &gt; (in target 'TOCropViewController' from project
  &gt;     'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropToolbar.h
  &gt; (in target 'TOCropViewController' from project
  &gt;     'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Views/TOCropView.h
  &gt; (in target 'TOCropViewController' from project 'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/TOCropViewController.h
  &gt; (in target 'TOCropViewController' from project
  &gt;     'Pods')
  &gt;     warning: Skipping duplicate build file in Copy Headers build phase:
  &gt;     /Users/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h
  &gt; (in target
  &gt;     'TOCropViewController' from project 'Pods')
  &gt; 
  &gt; Encountered error while building for device.
  </code></pre>