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
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] warning: The file
reference for
"Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"
is a member
of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership 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 another
reference 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 a
member of multiple
groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another
reference 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 of
multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership 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 another
reference 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 a
member of multiple
groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another
reference 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 member
of multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Views/TOCropView.h" is a member of
multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/TOCropViewController.h" is a member
of multiple groups
("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
path.
2020-09-05 12:53:42.052 xcodebuild[72084:478348] warning: The file reference for
"Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h"
is a
member of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
membership 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
another 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 found
in 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 found
in 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 found
in 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 found
in 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 explicitly
marked deprecated here
__deprecated_msg(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/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/CoreFoun
dation.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 explicitly
marked deprecated here
__deprecated_msg(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/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/CoreFoun
dation.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 message
delivery. [-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 been
explicitly marked deprecated here
#property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/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/CoreFoun
dation.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' is
deprecated [-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 deprecated
here
#property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/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/CoreFoun
dation.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: implementing
deprecated 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:' declared
here
- (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' is
deprecated [-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 deprecated
here
#property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
^
In module 'UIKit' imported from /Users/vickky/Documents/project1/ios/Pods/Target Support
Files/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/CoreFoun
dation.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' from
project '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.
This is an issue with the image cropper see here: not able to build project in iOS
The way I solved it was:
I deleted the Pods folder & Podfile & Podfile.lock under the iOS folder
I ran flutter clean & flutter packages get
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.
Related
I been trying to run my app in IOS Simulator in VS Code. When I type Flutter Run, it's starts Xcode builds but the it fails to build in IOS.
Error is as follows-
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
MacBook-Pro:footballcrazy appleuser$ flutter clean
Cleaning Xcode workspace... 1,964ms
Deleting build... 3ms
Deleting .dart_tool... 0ms
Deleting Generated.xcconfig... 0ms
Deleting flutter_export_environment.sh... 0ms
Deleting .flutter-plugins-dependencies... 0ms
Deleting .flutter-plugins... 0ms
MacBook-Pro:footballcrazy appleuser$ flutter pub get
Running "flutter pub get" in footballcrazy... 1,995ms
MacBook-Pro:footballcrazy appleuser$ flutter run
Launching lib/main.dart on iPhone 14 Pro Max in debug mode...
Running pod install... 13.7s
Running Xcode build...
Xcode build done. 153.4s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/7f/vrh09tld72ngmdfm94b1tpp80000gn/T/flutter_tools.AxRTm0/flutter_ios_build_temp_
dirXC4DET/temporary_xcresult_bundle
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
omBrowser.m:148:42: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
[[UIApplication sharedApplication] openURL:_appStoreURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
omBrowser.m:156:61: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
BOOL openedInBrowser = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
2 warnings generated.
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:5
3:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *_authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
43:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC =
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
44:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
[[SFAuthenticationSession alloc] initWithURL:requestURL
^~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
80:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
03:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC = _authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
5 warnings generated.
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
omBrowser.m:148:42: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
[[UIApplication sharedApplication] openURL:_appStoreURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOSCust
omBrowser.m:156:61: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
BOOL openedInBrowser = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
2 warnings generated.
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:5
3:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *_authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
43:7: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC =
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
44:37: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
[[SFAuthenticationSession alloc] initWithURL:requestURL
^~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:1
80:58: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
openedUserAgent = [[UIApplication sharedApplication] openURL:requestURL];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/AppAuth/AppAuth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:124:1
: note: 'openURL:' has been explicitly marked deprecated here
- (BOOL)openURL:(NSURL*)url
API_DEPRECATED_WITH_REPLACEMENT("openURL:options:completionHandler:", ios(2.0, 10.0))
NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
03:3: warning: 'SFAuthenticationSession' is deprecated: first deprecated in iOS 12.0
[-Wdeprecated-declarations]
SFAuthenticationSession *authenticationVC = _authenticationVC;
^~~~~~~~~~~~~~~~~~~~~~~
ASWebAuthenticationSession
In module 'SafariServices' imported from
/Users/appleuser/footballcrazy/ios/Pods/AppAuth/Source/AppAuth/iOS/OIDExternalUserAgentIOS.m:2
5:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAuthentica
tionSession.h:48:12: note: 'SFAuthenticationSession' has been explicitly marked deprecated
here
#interface SFAuthenticationSession : NSObject
^
5 warnings generated.
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:101:72: warning: sending 'FLTFirebaseAuthPlugin
*__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
[[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
^~~~
In module 'firebase_core' imported from
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:7:
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2
.1.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter
'firebasePlugin' here
- (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
^
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:1905:45: warning: 'keyWindow' is deprecated: first
deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as
it returns a key window across all connected scenes [-Wdeprecated-declarations]
return [[UIApplication sharedApplication] keyWindow];
^
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
1: note: property 'keyWindow' is declared deprecated here
#property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used
for applications that support multiple scenes as it returns a key window across all connected
scenes", ios(2.0, 13.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
1: note: 'keyWindow' has been explicitly marked deprecated here
2 warnings generated.
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:101:72: warning: sending 'FLTFirebaseAuthPlugin
*__strong' to parameter of incompatible type 'id<FLTFirebasePlugin> _Nonnull'
[[FLTFirebasePluginRegistry sharedInstance] registerFirebasePlugin:self];
^~~~
In module 'firebase_core' imported from
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:7:
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-2
.1.1/ios/Classes/FLTFirebasePluginRegistry.h:23:64: note: passing argument to parameter
'firebasePlugin' here
- (void)registerFirebasePlugin:(id<FLTFirebasePlugin> _Nonnull)firebasePlugin;
^
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-4
.1.0/ios/Classes/FLTFirebaseAuthPlugin.m:1905:45: warning: 'keyWindow' is deprecated: first
deprecated in iOS 13.0 - Should not be used for applications that support multiple scenes as
it returns a key window across all connected scenes [-Wdeprecated-declarations]
return [[UIApplication sharedApplication] keyWindow];
^
In module 'UIKit' imported from /Users/appleuser/footballcrazy/ios/Pods/Target Support
Files/firebase_auth/firebase_auth-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
1: note: property 'keyWindow' is declared deprecated here
#property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used
for applications that support multiple scenes as it returns a key window across all connected
scenes", ios(2.0, 13.0));
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/i
PhoneSimulator16.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:135:5
1: note: 'keyWindow' has been explicitly marked deprecated here
2 warnings generated.
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore
-4.0.3/ios/Classes/FLTFirebaseFirestorePlugin.m:457:29: warning: comparison of distinct
pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (query == nil || query == [NSNull null]) {
~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
/Users/appleuser/edgamble/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore
-4.0.3/ios/Classes/FLTFirebaseFirestorePlugin.m:457:29: warning: comparison of distinct
pointer types ('FIRQuery *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (query == nil || query == [NSNull null]) {
~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
No file or variants found for asset: assets/covers.
Failed to package /Users/appleuser/footballcrazy.
Command PhaseScriptExecution failed with a nonzero exit code
note: Building targets in dependency order
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
build because it does not specify any outputs. To address this warning, either add output
dependencies to the script phase, or configure it to run in every build by unchecking "Based
on dependency analysis" in the script phase. (in target 'gRPC-Core' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
build because it does not specify any outputs. To address this warning, either add output
dependencies to the script phase, or configure it to run in every build by unchecking "Based
on dependency analysis" in the script phase. (in target 'gRPC-C++' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
build because it does not specify any outputs. To address this warning, either add output
dependencies to the script phase, or configure it to run in every build by unchecking "Based
on dependency analysis" in the script phase. (in target 'abseil' from project 'Pods')
warning: Run script build phase 'Run Script' will be run during every build because it does
not specify any outputs. To address this warning, either add output dependencies to the script
phase, or configure it to run in every build by unchecking "Based on dependency analysis" in
the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Thin Binary' will be run during every build because it does
not specify any outputs. To address this warning, either add output dependencies to the script
phase, or configure it to run in every build by unchecking "Based on dependency analysis" in
the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
build because it does not specify any outputs. To address this warning, either add output
dependencies to the script phase, or configure it to run in every build by unchecking "Based
on dependency analysis" in the script phase. (in target 'Libuv-gRPC' from project 'Pods')
warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every
build because it does not specify any outputs. To address this warning, either add output
dependencies to the script phase, or configure it to run in every build by unchecking "Based
on dependency analysis" in the script phase. (in target 'BoringSSL-GRPC' from project 'Pods')
Result bundle written to path:
/var/folders/7f/vrh09tld72ngmdfm94b1tpp80000gn/T/flutter_tools.AxRTm0/flutter_ios_build_temp_
dirXC4DET/temporary_xcresult_bundle
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
Pubspec.yaml-
environment:
sdk: ">=2.18.2 <3.3.6"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.5
firebase_core: ^2.1.1
cloud_firestore: ^4.0.3
firebase_auth: ^4.1.0
google_sign_in: ^5.4.2
sign_in_with_apple: ^4.1.0
crypto: ^3.0.2
font_awesome_flutter: ^10.2.1
google_fonts: ^3.0.1
provider: ^6.0.4
rxdart: ^0.27.5
json_annotation: ^4.7.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
build_runner: ^2.3.2
json_serializable: ^6.5.4
I would appreciate feedback and can give further information if needed. Thanks
Please Do Change the deployment_target = '11.0' to deployment_target = '14.0' in the podfile inside the
ios
I m try in to build an Ios app made with Flutter and Dart ( I did not program it)
But i have this error Command PhaseScriptExecution failed with a nonzero exit code
I don t really understand why, because in the details as seen here, i only have some warnings but no errors.
As i didn t programm it , i don t really know how to handle this, any idea please?
i m using
xcode 12.4
Flutter 2.0.6
Dart 2.12.3
The answers i found related to similar topics didn´t really help me
here the detailled output
Launching lib/main.dart on iPhone 8 in debug mode...
Running Xcode build...
Xcode build done. 684.0s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+7/ios/Classes/FLTImagePickerPlugin.m:149:20: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 -
UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
[[[UIAlertView alloc] initWithTitle:#"Error"
^
In module 'UIKit' imported from /Users/vanessa/Documents/VSProjects/Teichmann-master/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note:
'UIAlertView' has been explicitly marked deprecated here
#interface UIAlertView : UIView
^
1 warning generated.
In file included from /Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.m:26:
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration
[-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/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/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:2:
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:328:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: warning: parameter 'allowTapToDismiss' not found in the function declaration
[-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:343:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/UIView+Toast.h:362:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.3/ios/Classes/FluttertoastPlugin.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/vanessa/Documents/Flutter/.pub-cache/hosted/pub.dartlang.org/barcode_scan_fix-1.0.2/ios/Classes/ScannerOverlay.m:25:12: warning: unused variable 'scanLineColor' [-Wunused-variable]
UIColor *scanLineColor = UIColor.redColor;
^
1 warning generated.
1 warning generated.
../../Flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.18.1/lib/src/picture_provider.dart:50:59: Error: No named parameter with the name 'nullOk'.
context != null ? Localizations.localeOf(context, nullOk: true) : null,
^^^^^^
../../Flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
static Locale localeOf(BuildContext context) {
^^^^^^^^
../../Flutter/.pub-cache/git/flutter-cupertino-date-picker-ee093f3440abc1f951c9936b0f6e09906a8ec25f/lib/src/date_picker.dart:103:34: Error: No named parameter with the name 'shadowThemeOnly'.
theme: Theme.of(context, shadowThemeOnly: true),
^^^^^^^^^^^^^^^
../../Flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
static ThemeData of(BuildContext context) {
^^
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
Could not build the application for the simulator.
Error launching application on iPhone 8.
I'm using cloud mac server for releasing in ios. And before changing my mac, i succesfully finished build of my ios app, but then i changed my mac server, now when i try to build, getting error below, what can i do to fix this issue, as i understand it's about deprecated libraries, but i can't delete them all because im using them in my app.
/Users/user191346/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-7.0.1/ios/Classes/FLTFirebaseAnalytic
sPlugin.m:49:19: warning: 'setScreenName:screenClass:' is deprecated: Use +[FIRAnalytics logEventWithName:kFIREventScreenView
parameters:] instead. [-Wdeprecated-declarations]
[FIRAnalytics setScreenName:screenName screenClass:screenClassOverride];
^
In module 'FirebaseAnalytics' imported from
/Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/Headers/Public/Firebase/Firebase.h:22:
/Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnal
ytics.h:128:5: note: 'setScreenName:screenClass:' has been explicitly marked deprecated here
DEPRECATED_MSG_ATTRIBUTE(
^
In module 'UIKit' imported from /Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/Target Support
Files/firebase_analytics/firebase_analytics-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/Availability
Macros.h:183:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
1 warning generated.
/Users/user191346/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-7.0.1/ios/Classes/FLTFirebaseAnalytic
sPlugin.m:49:19: warning: 'setScreenName:screenClass:' is deprecated: Use +[FIRAnalytics logEventWithName:kFIREventScreenView
parameters:] instead. [-Wdeprecated-declarations]
[FIRAnalytics setScreenName:screenName screenClass:screenClassOverride];
^
In module 'FirebaseAnalytics' imported from
/Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/Headers/Public/Firebase/Firebase.h:22:
/Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnal
ytics.h:128:5: note: 'setScreenName:screenClass:' has been explicitly marked deprecated here
DEPRECATED_MSG_ATTRIBUTE(
^
In module 'UIKit' imported from /Users/user191346/Desktop/rate_prof/rate_prof/ios/Pods/Target Support
Files/firebase_analytics/firebase_analytics-prefix.pch:2:
In module 'Foundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/UIKit.framework/Headers/UIKit.h:8:
In module 'CoreFoundation' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/Foundation.framework/Headers/Foundation.h:6:
In module 'Darwin' imported from
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Framework
s/CoreFoundation.framework/Headers/CoreFoundation.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/Availability
Macros.h:183:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
#define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
1 warning generated.
building file list ... rsync: link_stat "/Users/user191346/Desktop/rate_prof/rate_prof/ios/Flutter/App.framework" failed: No
such file or directory (2)
done
You needn't delete these packages, just follow these
commands and try in your terminal;
First Method for fix the issue:
flutter clean
flutter pub get
flutter run
if isn't work you can try this:
Second Solution:
flutter pub get
cd ios
pod install
Or you can remove Podfile.lock and after try this:
cd ios
pod install
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
> Error output from Xcode build: ↳
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"
> is a member of
> multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
> membership 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 another
> reference to the same path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/Views/TOCropOverlayView.h" is a
> member of multiple
> groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another
> reference to the same path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h"
> is a member of
> multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
> membership 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 another
> reference to the same path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/Views/TOCropScrollView.h" is a
> member of multiple
> groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another
> reference to the same path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for "Objective-C/TOCropViewController/Views/TOCropToolbar.h"
> is a member of multiple groups
> ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
> path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for "Objective-C/TOCropViewController/Views/TOCropView.h" is
> a member of multiple groups
> ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
> path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/TOCropViewController.h" is a member
> of multiple groups
> ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the membership 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 another reference to the same
> path.
> 2020-09-04 19:28:49.310 xcodebuild[12210:62950] warning: The file reference for
> "Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h"
> is a member
> of multiple groups ("TOCropViewController" and "TOCropViewController"); this indicates a malformed project. Only the
> membership 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 another
> reference to the same path.
> ** BUILD FAILED **
>
>
> Xcode's output: ↳
> In file included from /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
> /Users/jimmy/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/jimmy/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/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
> warning: parameter 'allowTapToDismiss' not found
> in the function declaration [-Wdocumentation]
> #param allowTapToDismiss
> ^~~~~~~~~~~~~~~~~
> /Users/jimmy/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/jimmy/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/jimmy/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/jimmy/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/jimmy/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/jimmy/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/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/FluttertoastPlugin.m:2:
> /Users/jimmy/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/jimmy/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/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-7.0.4/ios/Classes/UIView+Toast.h:343:9:
> warning: parameter 'allowTapToDismiss' not found
> in the function declaration [-Wdocumentation]
> #param allowTapToDismiss
> ^~~~~~~~~~~~~~~~~
> /Users/jimmy/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/jimmy/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/jimmy/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/jimmy/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/jimmy/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/jimmy/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.
> /Users/jimmy/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/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
> note: 'FIRMessagingRemoteMessage' has been explicitly
> marked deprecated here
> __deprecated_msg(
> ^
> In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
> Files/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/CoreFoun
> dation.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/jimmy/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/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1:
> note: 'FIRMessagingRemoteMessage' has been explicitly
> marked deprecated here
> __deprecated_msg(
> ^
> In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
> Files/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/CoreFoun
> dation.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/jimmy/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 message
> delivery. [-Wdeprecated-declarations]
> [FIRMessaging messaging].shouldEstablishDirectChannel = true;
> ^
> In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56:
> note: 'shouldEstablishDirectChannel' has been
> explicitly marked deprecated here
> #property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
> ^
> In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
> Files/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/CoreFoun
> dation.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/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:196:52:
> warning: 'appData' is
> deprecated [-Wdeprecated-declarations]
> [self didReceiveRemoteNotification:remoteMessage.appData];
> ^
> In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
> note: 'appData' has been explicitly marked deprecated
> here
> #property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
> ^
> In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
> Files/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/CoreFoun
> dation.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/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:306:1:
> warning: implementing
> deprecated method [-Wdeprecated-implementations]
> - (void)messaging:(FIRMessaging *)messaging
> ^
> In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1:
> note: method 'messaging:didReceiveMessage:' declared
> here
> - (void)messaging:(FIRMessaging *)messaging
> ^
> /Users/jimmy/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFirebaseMessagingPlugin.m:308:63:
> warning: 'appData' is
> deprecated [-Wdeprecated-declarations]
> [_channel invokeMethod:#"onMessage" arguments:remoteMessage.appData];
> ^
> In module 'FirebaseMessaging' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
> /Users/jimmy/Documents/firebaseproject/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62:
> note: 'appData' has been explicitly marked deprecated
> here
> #property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
> ^
> In module 'UIKit' imported from /Users/jimmy/Documents/firebaseproject/ios/Pods/Target Support
> Files/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/CoreFoun
> dation.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.
> 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/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCroppedImageAttributes.h
> (in target 'TOCropViewController' from
> project 'Pods')
> warning: Skipping duplicate build file in Copy Headers build phase:
> /Users/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/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/jimmy/Documents/firebaseproject/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h
> (in target
> 'TOCropViewController' from project 'Pods')
>
> Encountered error while building for device.
Jimmy Anderson after running flutter upgrade, with the existing project you need to check the dependencies used if they are up to date too.
I had the same error with version 1.20.1 and the solution was to delete the Pods folder, the pubspec.lock file:
): Clean completely all points to links:
flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
): Finally run these:
rm ios/Podfile
rm pubspec.lock
flutter run
If anyone has an up-to-date answer can complete this temporary solution.
These steps helped me to resolve a similar issue
At first try to take an Android build by following these steps
Delete pubspec.lock file
flutter clean ( inside ur project directory )
flutter pub get
flutter build apk --release
I then saw my Android build fail, it was some dependency related issues and I fixed those. Then repeated the above step 1. After that my Android build was successful.
Then try to take the iOS build by following these steps
Deleted Pods folder inside the ios directory
Deleted the Podfile.lock file inside the ios directory
cd ios
pod install
pod update
cd ..
flutter clean
flutter pub get
flutter build ios --release
And then my iOS build was successfull
Those steps worked for me:
Run flutter build
Open Xcode (Runner.xcworkspace)
Go to Product -> Clean Build Folder
Run on a real Device
Then try again - flutter build ios
I'm trying to build on simulator but getting warnings and errors.
I have replaced many packages with latest version but nothing happened still getting a lots of warnings.
My MacOs version: catalina 10.15.2
flutter version:1.12.13+hotfix.5
dart version:2.7.0
flutter run output console:
Errors:
Failed to build iOS app
Error output from Xcode build:
↳
2019-12-23 14:40:27.817 XCBBuildService[82944:471889] Failed to remove:
/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex/XCBuil
dData/ad956668556b5ace65773807034d312f-manifest.xcbuild:
unlink(/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex
/XCBuildData/ad956668556b5ace65773807034d312f-manifest.xcbuild): No such file or directory (2)
2019-12-23 14:40:28.782 XCBBuildService[82944:471889] Failed to remove:
/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex/XCBuil
dData/ad956668556b5ace65773807034d312f-desc.xcbuild:
unlink(/Users/brightrootssgruti/Library/Developer/Xcode/DerivedData/Runner-asthupoaqltbbmesqetcacindons/Build/Intermediates.noindex
/XCBuildData/ad956668556b5ace65773807034d312f-desc.xcbuild): No such file or directory (2)
** BUILD FAILED **
Xcode's output:
Xcode's output:
↳
In file included from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.m:26
:
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:32
8:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:36
2:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
4 warnings generated.
In file included from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:2:
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:32
8:19: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param sharedStyle
~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:25: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param allowTapToDismiss
~~~~~~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: warning: parameter 'allowTapToDismiss' not found in the function declaration [-Wdocumentation]
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:34
3:9: note: did you mean 'tapToDismissEnabled'?
#param allowTapToDismiss
^~~~~~~~~~~~~~~~~
tapToDismissEnabled
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/UIView+Toast.h:36
2:20: warning: empty paragraph passed to '#param' command [-Wdocumentation]
#param queueEnabled
~~~~~~~~~~~~~~~~~~^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:19:23: warning: unused variable 'viewController' [-Wunused-variable]
UIViewController *viewController =
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:70:21: warning: unused variable 'topPadding' [-Wunused-variable]
CGFloat topPadding = window.safeAreaInsets.top;
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:71:21: warning: unused variable 'bottomPadding' [-Wunused-variable]
CGFloat bottomPadding = window.safeAreaInsets.bottom;
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-3.1.0/ios/Classes/FluttertoastPlugi
n.m:48:19: warning: unused variable 'size' [-Wunused-variable]
NSNumber *size = call.arguments[#"size"];
^
8 warnings generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/git/plugins-441417c2fed0ff26bf84a49ab2c5ffd2aa5487de/packages/firebase_a
uth/ios/Classes/FirebaseAuthPlugin.m:358:62: warning: implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
userData[#"lastSignInTimestamp"] = [NSNumber numberWithInt:lastSignInDate];
~ ^~~~~~~~~~~~~~
1 warning generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRewardedV
ideoAdWrapper.m:67:66: warning: implicit conversion loses integer precision: 'FLTRewardedVideoAdStatus' to 'int'
[-Wshorten-64-to-32]
(NSString *)rewardedStatusToString[[NSNumber numberWithInt:_rewardedStatus]];
~ ^~~~~~~~~~~~~~~
1 warning generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:71:13: warning: 'testDevices' is deprecated: Use GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers.
[-Wdeprecated-declarations]
request.testDevices = testDevices;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:88:71: note: 'testDevices' has been explicitly marked deprecated here
#property(nonatomic, copy, nullable) NSArray<NSString *> *testDevices GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:91:15: warning: 'birthday' is deprecated [-Wdeprecated-declarations]
request.birthday =
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:95:55: note: 'birthday' has been explicitly marked deprecated here
#property(nonatomic, copy, nullable) NSDate *birthday GAD_DEPRECATED_ATTRIBUTE;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro
'GAD_DEPRECATED_ATTRIBUTE'
#define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:106:19: warning: 'gender' is deprecated [-Wdeprecated-declarations]
request.gender = genderValue;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:92:47: note: 'gender' has been explicitly marked deprecated here
#property(nonatomic, assign) GADGender gender GAD_DEPRECATED_ATTRIBUTE;
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro
'GAD_DEPRECATED_ATTRIBUTE'
#define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.m:116:14: warning: 'tagForChildDirectedTreatment:' is deprecated: use [GADMobileAds.sharedInstance.requestConfiguration
tagForChildDirectedTreatment] [-Wdeprecated-declarations]
[request tagForChildDirectedTreatment:childDirected.boolValue];
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:126:5: note: 'tagForChildDirectedTreatment:' has been explicitly
marked deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE(
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTRequestFa
ctory.h:5:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
4 warnings generated.
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
m:40:17: warning: 'configureWithApplicationID:' is deprecated: Use [GADMobileAds.sharedInstance startWithCompletionHandler:]
[-Wdeprecated-declarations]
[GADMobileAds configureWithApplicationID:appId];
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
h:6:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GADMobileAds.h:74:5: note: 'configureWithApplicationID:' has been explicitly marked
deprecated here
GAD_DEPRECATED_MSG_ATTRIBUTE("Use [GADMobileAds.sharedInstance startWithCompletionHandler:]");
^
In module 'GoogleMobileAds' imported from
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
h:6:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFram
ework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro
'GAD_DEPRECATED_MSG_ATTRIBUTE'
#define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
^
/Users/brightrootssgruti/ShrutiProjects/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.9.0+10/ios/Classes/FLTMobileAd.
m:98:79: warning: implicit conversion loses integer precision: 'FLTMobileAdStatus' to 'int' [-Wshorten-64-to-32]
NSString *statusString = (NSString *)statusToString[[NSNumber numberWithInt:_status]];
~ ^~~~~~~
2 warnings generated.
<module-includes>:1:1: warning: umbrella header for module 'cloud_firestore' does not include header 'CloudFirestorePlugin.h'
[-Wincomplete-umbrella]
#import "Headers/cloud_firestore-umbrella.h"
^
1 warning generated.
<module-includes>:1:1: warning: umbrella header for module 'firebase_admob' does not include header 'FirebaseAdMobPlugin.h'
[-Wincomplete-umbrella]
#import "Headers/firebase_admob-umbrella.h"
^
1 warning generated.
2 warnings generated.
error: unable to read property list from file:
/Users/brightrootssgruti/ShrutiProjects/shrutiFlutterProjects/babilok/ios/Runner/Info.plist: The operation couldn’t be completed.
(XCBUtil.PropertyListConversionError error 1.) (in target 'Runner' from project 'Runner')
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.
Shrutis-MacBook-Air:babilok brightrootssgruti$
You just have to upgrade your FlutterToast library
fluttertoast: ^4.0.0
And in my case, I changed the target platform to iOS 10.0 as well in Podfile
platform :ios, '10.0'