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 have taken over a project and find myself facing this issue. How can I resolve it?:
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.
Launching lib/main.dart on iPhone de Eric in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 7ZM5A78359
Running pod install...
Running Xcode build...
Xcode build done. 33,0s
Failed to build iOS app
Error output from Xcode build:
↳
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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.
2021-05-13 14:35:48.251 xcodebuild[47387:355803] 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:
↳
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:66013:32: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
rc = defragmentPage(pPage, MIN(4, pPage->nFree - (2+nByte)));
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:66737:43: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
char *zFullPathname = sqlite3Malloc(MAX(nFullPathname,nFilename));
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:69397:11: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
amt = MAX(0, (int)(pCur->pPage->aDataEnd - pCur->info.pPayload));
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:71527:16: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nAdd = MIN(nNew,iOld-iNew);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:73098:24: warning: implicit conversion loses integer precision: 'const sqlite3_int64' (aka 'const long long') to 'int' [-Wshorten-64-to-32]
x2.nData = pX->nKey;
~ ~~~~^~~~
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:75112:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
const int nCopy = MIN(nSrcPgsz, nDestPgsz);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:75386:18: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
iEnd = MIN(PENDING_BYTE + pgszDest, iSize);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:76760:49: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
if( sqlite3VdbeMemClearAndResize(pMem, (int)MAX(nAlloc,32)) ){
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:82139:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(mem1.n, pRhs->n);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:82167:22: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCmp = MIN(nStr, pRhs->n);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:82356:12: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nCmp = MIN( pPKey2->aMem[0].n, nStr );
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:84362:42: warning: implicit conversion loses integer precision: 'sqlite3_uint64' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
rc = sqlite3_bind_zeroblob(pStmt, i, n);
~~~~~~~~~~~~~~~~~~~~~ ^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:88296:21: warning: implicit conversion loses integer precision: 'i64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pOut->u.nZero = nZero;
~ ^~~~~
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94211:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94215:19: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
p->nAlloc = nNew;
~ ^~~~
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94491:25: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94673:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
mxCache = MIN(mxCache, SQLITE_MAX_PMASZ);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:94674:28: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95506:45: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory;
~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95517:26: warning: implicit conversion loses integer precision: 'sqlite3_int64' (aka 'long long') to 'int' [-Wshorten-64-to-32]
pSorter->nMemory = nNew;
~ ^~~~
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:95671:19: warning: ambiguous expansion of macro 'MAX' [-Wambiguous-macro]
pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:218:9: note: expanding this definition of 'MAX'
#define MAX(a, b) (((a)>(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14251:10: note: other definition of 'MAX'
# define MAX(A,B) ((A)>(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:96124:21: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT);
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/sys/param.h:215:9: note: expanding this definition of 'MIN'
#define MIN(a, b) (((a)<(b))?(a):(b))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:14248:10: note: other definition of 'MIN'
# define MIN(A,B) ((A)<(B)?(A):(B))
^
/Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:96980:17: warning: ambiguous expansion of macro 'MIN' [-Wambiguous-macro]
int nCopy = MIN(nRead, (p->nChunkSize - iChunkOffset));
^
In module 'Darwin' imported from /Users/splitti1/Projects/wiikko/ios/Pods/sqlite3/sqlite-amalgamation-3320300/sqlite3.c:1074:
^
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'share' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'path_provider' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'package_info' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'nanopb' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'keyboard_utils' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'image_picker' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'image_downloader' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'firebase_messaging' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'image_cropper' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'flutter_custom_dialog' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TOCropViewController-TOCropViewControllerBundle' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'TOCropViewController' from project 'Pods')
warning: Skipping duplicate build file in Copy Headers build phase: /Users/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/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/splitti1/Projects/wiikko/ios/Pods/TOCropViewController/Objective-C/TOCropViewController/Models/TOCropViewControllerTransitioning.h (in target 'TOCropViewController' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Runner' from project 'Runner')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Protobuf' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleUtilities' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleDataTransport' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseMessaging' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstanceID' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseInstallations' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCoreDiagnostics' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseCore' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FMDB' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'GoogleAppMeasurement' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Firebase' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'FirebaseAnalytics' from project 'Pods')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'Flutter' from project 'Pods')
Could not build the precompiled application for the device.
Error launching application on iPhone de Eric.
Flutter doctor
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H2 darwin-x64, locale
fr-CD)
• Flutter version 1.22.5 at /Users/splitti1/Development/flutter
• Framework revision 7891006299 (5 months ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/splitti1/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
[!] VS Code (version 1.56.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
✗ Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• iPhone de Eric (mobile) • 1a046776b311b2ca3539147a23be1abc00ce4dee •
ios • iOS 12.5.2
• iPhone 12 Pro Max (mobile) • 4C0D6598-33D1-46B3-8871-9EEC509C33F4 •
ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
! Doctor found issues in 2 categories.
I solved this issue by taping
flutter pub cache repair
flutter clean
flutter run
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.
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'
I recently copied some files from the iOS folder in an old flutter project to a new project so that I could preserve appIcons and launchScreens. Now I get the following error when trying to launch my code from VSCode, Xcode works fine.
I'm wondering if there's a way that I can just change certain parameters so that my signing id can be replaced, but I can't find anywhere in Xcode to do so.
(Nokia 3310 is just an iPhone 6 I use for debug testing :) )
Launching lib/main.dart on Nokia 3310 in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: **********
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Target 'Pods-Runner' of project 'Pods' was rejected as an implicit dependency for 'libPods-Runner.a' because its architectures 'arm64' didn't contain all required architectures 'armv7 arm64'
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
While building module 'Flutter' imported from /Users/jake/Desktop/cryptick-master/ios/Runner/main.m:1:
In file included from <module-includes>:1:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/Flutter.h:37:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:80:42: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
#interface UIUserNotificationSettings : NSObject
^
While building module 'Flutter' imported from /Users/jake/Desktop/cryptick-master/ios/Runner/main.m:1:
In file included from <module-includes>:1:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/Flutter.h:37:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:140:58: warning: this block declaration is not a prototype [-Wstrict-prototypes]
completionHandler:(nonnull void (^)())completionHandler;
^
void
2 warnings generated.
2 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
While building module 'Flutter' imported from /Users/jake/Desktop/cryptick-master/ios/Runner/AppDelegate.h:1:
In file included from <module-includes>:1:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/Flutter.h:37:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:80:42: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings;
^
In module 'UIKit' imported from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:43:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
#interface UIUserNotificationSettings : NSObject
^
While building module 'Flutter' imported from /Users/jake/Desktop/cryptick-master/ios/Runner/AppDelegate.h:1:
In file included from <module-includes>:1:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/Flutter.h:37:
In file included from /Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:11:
/Users/jake/Desktop/cryptick-master/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:140:58: warning: this block declaration is not a prototype [-Wstrict-prototypes]
completionHandler:(nonnull void (^)())completionHandler;
^
void
2 warnings generated.
2 warnings generated.
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
ld: warning: directory not found for option '-F/Users/jake/Desktop/cryptick-master/ios/Pods/../.symlinks/flutter/ios'
ld: library not found for -lPods-Runner
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: directory not found for option '-F/Users/jake/Desktop/cryptick-master/ios/Pods/../.symlinks/flutter/ios'
ld: library not found for -lPods-Runner
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not build the precompiled application for the device.
It appears that your application still contains the default signing identifier.
Try replacing 'com.example' with your signing id in Xcode:
open ios/Runner.xcworkspace
Error launching application on Nokia 3310.
Exited (sigterm)
It looks like the issue has been solved by creating a new project again and migrating the code. With the current details, I'm unable to replicate this issue on my end.
If someone else is having similar issues, please provide the steps to replicate the behavior and file it here: https://github.com/flutter/flutter/issues/