Closed Nader2004 closed 3 years ago
Hi @Nader2004 Why have you disabled method swizzling? Are you using any other plugins that block you from using it?
Also, why would you send notifications from inside the production app? This requires you to store and use the deprecated API key in the app which comes with security concerns.
When filing an issue try to provide all of the details in the template. Please provide your flutter doctor -v
and flutter pub deps -- --style=compact
.
Thank you
Hello @markusaksli-nc Thanks for responding. Here is my flutter doctor :
[β] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.18363.1316], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[!] Android Studio (not installed)
[β] VS Code (version 1.53.0)
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
Here is my flutter pub deps -- --style=compact :
Dart SDK 2.10.5
Flutter SDK 1.22.6
looper 1.0.85+20
dependencies:
- audioplayers 0.16.2 [uuid path_provider flutter flutter_web_plugins]
- badges 1.1.4 [flutter]
- bubble 1.1.9+1 [flutter]
- cached_network_image 2.3.3 [flutter flutter_cache_manager octo_image]
- camera 0.7.0+2 [flutter camera_platform_interface pedantic quiver]
- carousel_slider 2.3.1 [flutter]
- cloud_firestore 0.14.4 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cool_nav 0.0.3 [flutter]
- cupertino_icons 1.0.0
- device_preview 0.5.5 [flutter flutter_localizations provider path_provider device_frame font_awesome_flutter http freezed_annotation json_annotation meta shared_preferences pedantic path]
- dots_indicator 1.2.0 [flutter]
- dotted_border 1.0.6 [flutter path_drawing]
- email_validator 1.0.6
- enhanced_future_builder 1.0.3 [flutter]
- esys_flutter_share 1.0.2 [flutter path_provider]
- export_video_frame 0.0.5+4 [flutter]
- fab_circular_menu 1.0.1 [flutter vector_math]
- file_picker 2.0.11 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_auth 0.18.4+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]- firebase_core 0.5.3 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_messaging 7.0.3 [meta flutter firebase_core]
- firebase_ml_vision 0.9.8 [flutter]
- firebase_storage 4.0.1 [flutter firebase_core]
- flashy_tab_bar 0.0.3 [flutter]
- flushbar 1.10.4 [flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_bounce 1.0.8 [flutter]
- flutter_chat_bubble 1.0.2 [flutter]
- flutter_email_sender 4.0.0 [flutter]
- flutter_image_compress 0.7.0 [flutter]
- flutter_launcher_icons 0.8.1 [image args yaml path]
- flutter_linkify 3.1.3 [flutter linkify]
- flutter_local_notifications 4.0.0 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_native_admob 2.1.0+3 [flutter]
- flutter_page_transition 0.1.6 [flutter]
- flutter_snake_navigationbar 0.4.1+3 [flutter]
- flutter_sound 6.4.3+44 [path_provider logger intl recase uuid provider flutter_spinkit path synchronized flutter flutter_sound_platform_interface flutter_sound_web]
- flutter_spinkit 4.1.2+1 [flutter]
- flutter_svg 0.19.1 [flutter meta path_drawing vector_math xml]
- flutter_swiper 1.1.6 [flutter transformer_page_view flutter_page_indicator]
- flutter_toggle_tab 0.0.3+2 [flutter]
- flutter_video_compress 0.3.7+8 [flutter]
- fluttertoast 7.1.1 [flutter flutter_web_plugins]
- font_awesome_flutter 8.10.0 [flutter]
- geocoder 0.2.1 [meta flutter]
- giphy_picker 1.0.8 [flutter http]
- google_fonts 1.1.1 [flutter http path_provider crypto pedantic]
- http 0.12.2 [http_parser path pedantic]
- image_picker 0.6.7+12 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.16.1 [path]
- intro_slider 2.3.3 [flutter]
- location 3.0.2 [flutter meta location_platform_interface location_web]
- material_design_icons_flutter 4.0.5755 [flutter]
- path_provider 1.6.24 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- photo_manager 0.5.8 [flutter]
- shared_preferences 0.5.12+2 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- shifting_tabbar 0.3.1 [flutter]
- shimmer 1.1.2 [flutter]
- stop_watch_timer 0.6.0+1 [flutter rxdart]
- string_validator 0.1.4
- stringprocess 1.0.10 [html_unescape markdown]
- superellipse_shape 0.1.5 [flutter]
- tutorial_coach_mark 0.5.2 [flutter]
- url_launcher 5.7.8 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- uuid 2.2.2 [crypto convert]
- validators 2.0.1 [vin_decoder]
- video_player 1.0.1 [meta video_player_platform_interface video_player_web flutter]
- video_thumbnail 0.2.4 [flutter]
- visibility_detector 0.1.5 [flutter]
dev dependencies:
- flutter_datetime_picker 1.4.0 [flutter]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
transitive dependencies:
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.5.0-nullsafety.1 [collection]
- basic_utils 2.7.0 [http logging json_annotation pointycastle convert crypto]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- camera_platform_interface 1.5.0 [flutter meta plugin_platform_interface cross_file stream_transform]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- cloud_firestore_platform_interface 2.2.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.1+2 [flutter flutter_web_plugins http_parser meta firebase_core firebase_core_web cloud_firestore_platform_interface js]
- collection 1.15.0-nullsafety.3
- convert 2.1.1 [charcode typed_data]
- cross_file 0.1.0 [flutter http meta]
- crypto 2.1.5 [collection convert typed_data]
- device_frame 0.3.0 [flutter_svg path_drawing freezed_annotation flutter]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase_auth_platform_interface 2.1.4 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.2+3 [flutter flutter_web_plugins meta http_parser intl firebase_core firebase_core_web firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.1.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 2.0.0 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_local_notifications_platform_interface 2.0.0+1 [flutter plugin_platform_interface]
- flutter_localizations 0.0.0 [flutter intl characters collection meta path typed_data vector_math]
- flutter_page_indicator 0.0.3 [flutter]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_sound_platform_interface 6.4.3+44 [flutter meta plugin_platform_interface]
- flutter_sound_web 6.4.3+44 [flutter_sound_platform_interface flutter flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- freezed_annotation 0.12.0 [collection json_annotation meta]
- html_unescape 1.0.2
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image 2.1.18 [archive xml meta]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- js 0.6.2
- json_annotation 3.1.1
- linkify 2.1.0
- location_platform_interface 1.0.0 [flutter meta plugin_platform_interface]
- location_web 1.0.0 [flutter flutter_web_plugins location_platform_interface http_parser meta js]
- logger 0.9.4
- logging 0.11.4
- markdown 2.1.8 [args charcode meta]
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- nested 0.0.4 [flutter]
- octo_image 0.3.0 [flutter flutter_blurhash]
- path 1.8.0-nullsafety.1
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- petitparser 3.1.0 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- pointycastle 2.0.1
- process 3.0.13 [file intl meta path platform]
- provider 4.3.2+2 [flutter nested collection]
- quiver 2.1.5 [matcher meta]
- random_string 2.1.0
- recase 3.0.1
- rxdart 0.24.1
- shared_preferences_linux 0.0.2+2 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+1 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sqflite 1.3.2+1 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.6.1 [path]
- transformer_page_view 0.1.6 [flutter]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+3 [flutter]
- url_launcher_macos 0.0.1+8 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+1 [flutter]
- vector_math 2.1.0-nullsafety.3
- video_player_platform_interface 2.2.0 [flutter meta]
- video_player_web 0.1.4 [flutter flutter_web_plugins meta video_player_platform_interface]
- vin_decoder 0.1.2 [meta basic_utils http random_string]
- win32 1.7.3 [ffi]
- xdg_directories 0.1.2 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]
And also could you clarify what does disabling method swizzling mean and where did you spot it in the code.
Thanks for the security tip.
You have added
<key>FirebaseAppDelegateProxyEnabled</key>
<false/>
in Info.plist
and
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as UNUserNotificationCenterDelegate
}
in AppDelegate.swift
This is only necessary if you need to disable method swizzling in order to use multiple notification services at once. You can just remove these changes if you don't need to use multiple notification services.
On the sending notifications side, you should take a look at using the new v1 API in a server environment https://github.com/FirebaseExtended/flutterfire/issues/4611#issuecomment-757917877
In general, I would recommend you upgrade to the latest non-nullsafety version firebase_messaging: ^8.0.0-dev.14
. It is a lot more stable and reliable in general and removed the previously necessary native workarounds. This will also mean you have to upgrade your other firebase dependencies and bump the iOS deployment target to at least 10.0
Thanks @markusaksli-nc I will try to use the new version of firebase messaging
Let me know if it works once you have gotten a chance to try it
Hey @markusaksli-nc I have tried but ios build fails with this error :
[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
In snapshot (Podfile.lock):
Firebase/CoreOnly (= 6.33.0, ~> 6.33.0)
In Podfile:
firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 0.7.0, which depends on
Firebase/CoreOnly (= 7.3.0)
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* changed the constraints of dependency `Firebase/CoreOnly` inside your development pod `firebase_core`.
You should run `pod update Firebase/CoreOnly` to apply changes you've made.
Does this mean that I should add pods or something like that ?
Did you upgrade all of your firebase packages?
Yes I have updated them . But this didn't solve the issue. after overriding the Firebase SDK version in Podfile it was solved :
# Override Firebase SDK Version
$FirebaseSDKVersion = '6.33.0'
But now I have encountered another error :
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-8.0.0-dev.15/ios/Classes/FLTFirebaseMessagingPlugin.m:167:54:
error: nullability specifier 'nullable' conflicts with existing specifier 'nonnull'
didReceiveRegistrationToken:(nullable NSString *)fcmToken {
I tried to google it but with no luck
Could you try running these commands in your ios
directory?
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update
What version of Xcode are you using?
@markusaksli-nc I think I cannot run these commands since I am using windows . I am building using codemagic. In codemagic the xcode version is set to 12.4.
Could you try upgrading to the new stable firebase_messaging: ^9.0.0
?
@markusaksli-nc I have upgraded but it failed :
Resolving dependencies...
The current Dart SDK version is 2.10.5.
Because looper depends on firebase_messaging >=9.0.0-1.0.nullsafety.0 which requires SDK version >=2.12.0-0 <3.0.0, version solving failed.
Should I try upgrading to Flutter 2 ?
You will need to upgrade to Flutter 2 for it to work yes.
Plus you get a bunch of cool new features if you do :)
@markusaksli-nc I have now upgraded all the packages and upgraded to Flutter 2.0 . But now I am facing an issue about Podfile :
Running pod install... 2,955ms
CocoaPods' output:
β³
[!] Invalid `Podfile` file: no implicit conversion of nil into String.
# from /Users/builder/clone/ios/Podfile:57
# -------------------------------------------
# unless File.exist?(copied_framework_path)
> FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), copied_flutter_dir)
# end
# -------------------------------------------
Here are my firebase packages :
firebase_storage: ^8.0.0
firebase_core: ^1.0.0
cloud_firestore: ^1.0.0
firebase_messaging: ^9.0.0
firebase_auth: ^1.0.0
firebase_ml_vision: ^0.11.0
Do you have some custom setup in the podfile? The default podfile isn't even 57 lines long. Unless you have added some lines to it you can just delete your Podfile and Podfile.lock and run flutter pub get
again to create a new working one.
Hey @Nader2004. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Same here. I am testing notification on the postman using this link.
Its working on Android completely but not working on iOS.
Hey @Nader2004. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
I have deleted my podfile and pofile.lock and have then let cdemagic generate one when it's building , but I keep getting this error :
Failed to build iOS app
Error output from Xcode build:
β³
** ARCHIVE FAILED **
Xcode's output:
β³
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1461:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1426:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1461:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1425:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1550:38: warning: variable 'sum_left' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1509:3: note: variable 'sum_left' is declared here
uint16x8_t sum_left;
^
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1550:48: warning: variable 'sum_top' may be uninitialized when used here [-Wconditional-uninitialized]
const uint16x8_t sum = vaddq_u16(sum_left, sum_top);
^~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/dsp/dec_neon.c:1508:3: note: variable 'sum_top' is declared here
uint16x8_t sum_top;
^
4 warnings generated.
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:694:12: warning: variable 'best_offset' may be uninitialized when used here [-Wconditional-uninitialized]
(best_offset << MAX_LENGTH_BITS) | (uint32_t)best_length;
^~~~~~~~~~~
/Users/builder/clone/ios/Pods/libwebp/src/enc/backward_references_enc.c:626:20: note: initialize the variable 'best_offset' to silence this warning
int best_offset;
^
= 0
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.5.8/ios/Classes/core/PMManager.m:725:42: warning: 'openURL:options:completionHandler:' is only available on iOS 10.0 or newer [-Wunguarded-availability]
[[UIApplication sharedApplication] openURL:url
^~~~~~~~~~~
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/photo_manager/photo_manager-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:130:1: note: 'openURL:options:completionHandler:' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0
- (void)openURL:(NSURL*)url options:(NSDictionary<UIApplicationOpenExternalURLOptionsKey, id> *)options completionHandler:(void (^ __nullable)(BOOL success))completion API_AVAILABLE(ios(10.0)) NS_EXTENSION_UNAVAILABLE_IOS("");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.5.8/ios/Classes/core/PMManager.m:725:42: note: enclose 'openURL:options:completionHandler:' in an @available check to silence this warning
[[UIApplication sharedApplication] openURL:url
^~~~~~~~~~~
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/PhonePermissionStrategy.m:41:35: warning: 'subscriberCellularProvider' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
CTCarrier *carrier = [netInfo subscriberCellularProvider];
^~~~~~~~~~~~~~~~~~~~~~~~~~
serviceSubscriberCellularProviders
In module 'CoreTelephony' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/PhonePermissionStrategy.m:8:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h:112:50: note: property 'subscriberCellularProvider' is declared deprecated here
@property(readonly, retain, nullable) CTCarrier *subscriberCellularProvider API_DEPRECATED_WITH_REPLACEMENT("serviceSubscriberCellularProviders", ios(4.0, 12.0)) API_UNAVAILABLE(macos);
^
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h:112:50: note: 'subscriberCellularProvider' has been explicitly marked deprecated here
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/PermissionManager.m:75:59: warning: 'openURL:' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations]
BOOL success = [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
^~~~~~~
openURL:options:completionHandler:
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:123: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("");
^
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:48:7: warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
UIUserNotificationType notificationTypes = 0;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:49:28: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeSound;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:50:28: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeAlert;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:51:28: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeBadge;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:52:7: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:52:74: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:53:42: warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] registerUserNotificationSettings:settings];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:250:1: note: 'registerUserNotificationSettings:' has been explicitly marked deprecated here
- (void)registerUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:75:5: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:75:79: warning: 'currentUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:] [-Wdeprecated-declarations]
UIUserNotificationSettings * setting = [[UIApplication sharedApplication] currentUserNotificationSettings];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: property 'currentUserNotificationSettings' is declared deprecated here
@property(nonatomic, readonly, nullable) UIUserNotificationSettings *currentUserNotificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] and -[UNUserNotificationCenter getNotificationCategoriesWithCompletionHandler:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:253:70: note: 'currentUserNotificationSettings' has been explicitly marked deprecated here
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/NotificationPermissionStrategy.m:76:26: warning: 'UIUserNotificationTypeNone' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
if (setting.types == UIUserNotificationTypeNone) permissionStatus = PermissionStatusDenied;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
10 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:50:9: warning: 'ABAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]
ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus();
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here
typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:50:40: warning: 'ABAddressBookGetAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore authorizationStatusForEntityType:] [-Wdeprecated-declarations]
ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus();
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:50:33: note: 'ABAddressBookGetAuthorizationStatus' has been explicitly marked deprecated here
AB_EXTERN ABAuthorizationStatus ABAddressBookGetAuthorizationStatus(void) AB_DEPRECATED("use [CNContactStore authorizationStatusForEntityType:]");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:53:18: warning: 'kABAuthorizationStatusNotDetermined' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]
case kABAuthorizationStatusNotDetermined:
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here
typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:55:18: warning: 'kABAuthorizationStatusRestricted' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]
case kABAuthorizationStatusRestricted:
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here
typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:57:18: warning: 'kABAuthorizationStatusDenied' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]
case kABAuthorizationStatusDenied:
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here
typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:59:18: warning: 'kABAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]
case kABAuthorizationStatusAuthorized:
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here
typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:79:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations]
ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here
AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook, ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:79:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations]
ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here
AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:89:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations]
ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here
AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook, ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.m:89:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations]
ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {
^
In module 'AddressBook' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.1.0+2/ios/Classes/strategies/ContactPermissionStrategy.h:11:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here
AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]");
^
10 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.1.1/ios/Classes/LocationPlugin.m:163:13: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Location is Disabled"
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/location-4.1.1/ios/Classes/LocationPlugin.m:163:48: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Location is Disabled"
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/location/location-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
^
2 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.2/ios/Classes/FLTImagePickerPlugin.m:149:20: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]
[[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil)
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here
@interface UIAlertView : UIView
^
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.2/ios/Classes/FLTImagePickerPhotoAssetUtil.m:17:44: warning: 'UIImagePickerControllerReferenceURL' is deprecated: first deprecated in iOS 11.0 - Will be removed in a future release, use PHPicker. [-Wdeprecated-declarations]
NSURL *referenceURL = [info objectForKey:UIImagePickerControllerReferenceURL];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h:62:51: note: 'UIImagePickerControllerReferenceURL' has been explicitly marked deprecated here
UIKIT_EXTERN UIImagePickerControllerInfoKey const UIImagePickerControllerReferenceURL API_DEPRECATED("Will be removed in a future release, use PHPicker.", ios(4.1, 11.0)) API_UNAVAILABLE(tvos); // an NSURL that references an asset in the AssetsLibrary framework
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.2/ios/Classes/FLTImagePickerPhotoAssetUtil.m:21:47: warning: 'fetchAssetsWithALAssetURLs:options:' is deprecated: first deprecated in iOS 11 - Will be removed in a future release [-Wdeprecated-declarations]
PHFetchResult<PHAsset *> *result = [PHAsset fetchAssetsWithALAssetURLs:@[ referenceURL ]
^
In module 'Photos' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.7.2/ios/Classes/FLTImagePickerPhotoAssetUtil.h:6:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/Photos.framework/Headers/PHAsset.h:74:1: note: 'fetchAssetsWithALAssetURLs:options:' has been explicitly marked deprecated here
+ (PHFetchResult<PHAsset *> *)fetchAssetsWithALAssetURLs:(NSArray<NSURL *> *)assetURLs options:(nullable PHFetchOptions *)options API_DEPRECATED("Will be removed in a future release", ios(8, 11), tvos(8, 11)) API_UNAVAILABLE(macos);
^
2 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/geocoder-0.2.1/ios/Classes/GeocoderPlugin.m:75:36: warning: 'addressDictionary' is deprecated: first deprecated in iOS 11.0 - Use @properties [-Wdeprecated-declarations]
NSArray *lines = placemark.addressDictionary[@"FormattedAddressLines"];
^
In module 'CoreLocation' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/geocoder-0.2.1/ios/Classes/GeocoderPlugin.h:3:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h:73:63: note: 'addressDictionary' has been explicitly marked deprecated here
@property (nonatomic, readonly, copy, nullable) NSDictionary *addressDictionary API_DEPRECATED("Use @properties", macos(10.8, 10.13), ios(5.0, 11.0), watchos(1.0, 4.0));
^
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:13:5: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *_launchNotification;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:293:4: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
- (UILocalNotification *)buildStandardUILocalNotification:(NSDictionary *)arguments {
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:752:30: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
didReceiveLocalNotification:(UILocalNotification*)notification {
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:182:64: warning: 'scheduledLocalNotifications' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getPendingNotificationRequestsWithCompletionHandler:] [-Wdeprecated-declarations]
NSArray *notifications = [UIApplication sharedApplication].scheduledLocalNotifications;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:242:68: note: 'scheduledLocalNotifications' has been explicitly marked deprecated here
@property(nullable,nonatomic,copy) NSArray<UILocalNotification *> *scheduledLocalNotifications API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getPendingNotificationRequestsWithCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:185:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification* localNotification = [notifications objectAtIndex:i];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:277:9: warning: 'UIUserNotificationType' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
UIUserNotificationType notificationTypes = 0;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:279:34: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeSound;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:282:34: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeAlert;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:285:34: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
notificationTypes |= UIUserNotificationTypeBadge;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:287:9: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:287:76: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:notificationTypes categories:nil];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:288:44: warning: 'registerUserNotificationSettings:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] registerUserNotificationSettings:settings];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:250:1: note: 'registerUserNotificationSettings:' has been explicitly marked deprecated here
- (void)registerUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter requestAuthorizationWithOptions:completionHandler:] and -[UNUserNotificationCenter setNotificationCategories:]", ios(8.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:294:5: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *notification = [[UILocalNotification alloc] init];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:294:63: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *notification = [[UILocalNotification alloc] init];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:333:34: warning: 'UILocalNotificationDefaultSoundName' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's +[UNNotificationSound defaultSound] [-Wdeprecated-declarations]
notification.soundName = UILocalNotificationDefaultSoundName;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:62:30: note: 'UILocalNotificationDefaultSoundName' has been explicitly marked deprecated here
UIKIT_EXTERN NSString *const UILocalNotificationDefaultSoundName API_DEPRECATED("Use UserNotifications Framework's +[UNNotificationSound defaultSound]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:349:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:350:44: warning: 'presentLocalNotificationNow:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] presentLocalNotificationNow:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:236:1: note: 'presentLocalNotificationNow:' has been explicitly marked deprecated here
- (void)presentLocalNotificationNow:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:362:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:387:44: warning: 'scheduleLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:238:1: note: 'scheduleLocalNotification:' has been explicitly marked deprecated here
- (void)scheduleLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // copies notification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:407:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:409:44: warning: 'scheduleLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:238:1: note: 'scheduleLocalNotification:' has been explicitly marked deprecated here
- (void)scheduleLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // copies notification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:420:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:441:44: warning: 'scheduleLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:238:1: note: 'scheduleLocalNotification:' has been explicitly marked deprecated here
- (void)scheduleLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // copies notification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:460:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:468:44: warning: 'scheduleLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:238:1: note: 'scheduleLocalNotification:' has been explicitly marked deprecated here
- (void)scheduleLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // copies notification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:489:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification * notification = [self buildStandardUILocalNotification:arguments];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:498:44: warning: 'scheduleLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] scheduleLocalNotification:notification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:238:1: note: 'scheduleLocalNotification:' has been explicitly marked deprecated here
- (void)scheduleLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter addNotificationRequest:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // copies notification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:510:68: warning: 'scheduledLocalNotifications' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter getPendingNotificationRequestsWithCompletionHandler:] [-Wdeprecated-declarations]
NSArray *notifications = [UIApplication sharedApplication].scheduledLocalNotifications;
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:242:68: note: 'scheduledLocalNotifications' has been explicitly marked deprecated here
@property(nullable,nonatomic,copy) NSArray<UILocalNotification *> *scheduledLocalNotifications API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter getPendingNotificationRequestsWithCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:512:13: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification* localNotification = [notifications objectAtIndex:i];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:515:52: warning: 'cancelLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter removePendingNotificationRequestsWithIdentifiers:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] cancelLocalNotification:localNotification];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:239:1: note: 'cancelLocalNotification:' has been explicitly marked deprecated here
- (void)cancelLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter removePendingNotificationRequestsWithIdentifiers:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:529:44: warning: 'cancelAllLocalNotifications' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter removeAllPendingNotificationRequests] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] cancelAllLocalNotifications];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:240:1: note: 'cancelAllLocalNotifications' has been explicitly marked deprecated here
- (void)cancelAllLocalNotifications API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter removeAllPendingNotificationRequests]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:741:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:741:52: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:741:102: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/builder/clone/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.m:751:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)application:(UIApplication*)application
^
In module 'Flutter' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0-nullsafety.1/ios/Classes/FlutterLocalNotificationsPlugin.h:1:
/Users/builder/programs/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-armv7_arm64/Flutter.framework/Headers/FlutterPlugin.h:98:1: note: method 'application:didReceiveLocalNotification:' declared here
- (void)application:(UIApplication*)application
^
35 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/export_video_frame-0.0.5+4/ios/Classes/UIImage+Extension.swift:52:48: warning: 'EAGLContext' was deprecated in iOS 12.0: OpenGLES API deprecated. (Define GLES_SILENCE_DEPRECATION to silence these warnings)
let ciContext = CIContext(eaglContext: EAGLContext(api: .openGLES2)!)
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/export_video_frame-0.0.5+4/ios/Classes/UIImage+Extension.swift:52:25: warning: 'init(eaglContext:)' was deprecated in iOS 12.0: Core Image OpenGLES API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings)
let ciContext = CIContext(eaglContext: EAGLContext(api: .openGLES2)!)
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:55:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)captureOutput:(AVCapturePhotoOutput *)output
^
In module 'AVFoundation' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:753:1: note: method 'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:' declared here
- (void)captureOutput:(AVCapturePhotoOutput *)output didFinishProcessingPhotoSampleBuffer:(nullable CMSampleBufferRef)photoSampleBuffer previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings bracketSettings:(nullable AVCaptureBracketedStillImageSettings *)bracketSettings error:(nullable NSError *)error API_DEPRECATED_WITH_REPLACEMENT("-captureOutput:didFinishProcessingPhoto:error:", ios(10.0, 11.0)) API_UNAVAILABLE(macos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:68:7: warning: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' is deprecated: first deprecated in iOS 11.0 [-Wdeprecated-declarations]
JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-[AVCapturePhoto fileDataRepresentation]
In module 'AVFoundation' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:544:1: note: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' has been explicitly marked deprecated here
+ (nullable NSData *)JPEGPhotoDataRepresentationForJPEGSampleBuffer:(CMSampleBufferRef)JPEGSampleBuffer previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer API_DEPRECATED_WITH_REPLACEMENT("-[AVCapturePhoto fileDataRepresentation]", ios(10.0, 11.0)) API_UNAVAILABLE(macos);
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:568:13: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations]
while (!OSAtomicCompareAndSwapPtrBarrier(old, newBuffer, (void **)&_latestPixelBuffer)) {
^
In module 'Darwin' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:9:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile *__theValue );
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:778:11: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in iOS 10.0 - Use atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations]
while (!OSAtomicCompareAndSwapPtrBarrier(pixelBuffer, nil, (void **)&_latestPixelBuffer)) {
^
In module 'Darwin' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:9:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/include/libkern/OSAtomicDeprecated.h:548:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
bool OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile *__theValue );
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:1113:36: warning: 'AVVideoCodecH264' is deprecated: first deprecated in iOS 11.0 [-Wdeprecated-declarations]
dictionaryWithObjectsAndKeys:AVVideoCodecH264, AVVideoCodecKey,
^~~~~~~~~~~~~~~~
AVVideoCodecTypeH264
In module 'AVFoundation' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/camera-0.8.0/ios/Classes/CameraPlugin.m:6:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoSettings.h:57:29: note: 'AVVideoCodecH264' has been explicitly marked deprecated here
AVF_EXPORT NSString *const AVVideoCodecH264 /* @"avc1" */ API_DEPRECATED_WITH_REPLACEMENT("AVVideoCodecTypeH264", macos(10.7, 10.13), ios(4.0, 11.0), tvos(9.0, 11.0)) API_UNAVAILABLE(watchos);
^
5 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.17.4/darwin/Classes/NotificationsHandler.swift:174:75: warning: 'init(image:)' was deprecated in iOS 10.0: Use -initWithBoundsSize:requestHandler:
let albumArt: MPMediaItemArtwork = MPMediaItemArtwork.init(image: artworkImage)
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundRecorderManager.mm:101:37: warning: comparison of distinct pointer types ('FlutterSoundRecorder *' and 'NSNull * _Nonnull') [-Wcompare-distinct-pointer-types]
if (aFlautoRecorder != [NSNull null])
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~
1 warning generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundRecorder.mm:261:14: warning: unused variable 'b' [-Wunused-variable]
bool b = [flautoRecorder deleteRecord: path];
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundRecorder.mm:34:17: warning: method definition for 'setDbPeakLevelUpdate:result:' not found [-Wincomplete-implementation]
@implementation FlutterSoundRecorder
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundRecorder.mm:30:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundRecorder.h:54:1: note: method 'setDbPeakLevelUpdate:result:' declared here
- (void)setDbPeakLevelUpdate:(double)intervalInSecs result: (FlutterResult)result;
^
2 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundPlayer.mm:80:94: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion]
[self invokeMethod:@"needSomeFood" numberArg: [NSNumber numberWithInt: ln] success: @YES ];
~ ^~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundPlayer.mm:101:80: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion]
[self invokeMethod:@"pause" numberArg: [self getPlayerStatus] success: @YES ];
~ ^~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundPlayer.mm:106:82: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion]
[self invokeMethod:@"resume" numberArg: [self getPlayerStatus] success: @YES ];
~ ^~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundPlayer.mm:111:87: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion]
[self invokeMethod:@"skipForward" numberArg: [self getPlayerStatus] success: @YES ];
~ ^~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundPlayer.mm:117:88: warning: implicit boolean conversion of Objective-C object literal always evaluates to true [-Wobjc-literal-conversion]
[self invokeMethod:@"skipBackward" numberArg: [self getPlayerStatus] success: @YES ];
~ ^~~~
5 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:33:17: warning: class 'FlutterSoundManager' does not conform to protocol 'FlutterPlugin' [-Wprotocol]
@implementation FlutterSoundManager
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:33:17: note: add stubs for missing protocol requirements
@implementation FlutterSoundManager
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:106:17: warning: method definition for 'reset:result:' not found [-Wincomplete-implementation]
@implementation Session
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:29:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.h:39:1: note: method 'reset:result:' declared here
- (void)reset: (FlutterMethodCall*)call result: (FlutterResult)result;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:106:17: warning: method definition for 'getStatus' not found [-Wincomplete-implementation]
@implementation Session
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:29:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.h:40:1: note: method 'getStatus' declared here
- (int) getStatus;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:106:17: warning: method definition for 'freeSlot:' not found [-Wincomplete-implementation]
@implementation Session
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:29:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.h:49:1: note: method 'freeSlot:' declared here
- (void)freeSlot: (int)slotNo;
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:106:17: warning: method definition for 'invokeMethod:arguments:' not found [-Wincomplete-implementation]
@implementation Session
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.m:29:
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundManager.h:50:1: note: method 'invokeMethod:arguments:' declared here
- (void)invokeMethod: (NSString*)methodName arguments: (NSDictionary*)call ;
^
5 warnings generated.
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundFFmpeg.mm:33:
/Users/builder/clone/ios/Pods/mobile-ffmpeg-full/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: warning: duplicate protocol definition of 'LogDelegate' is ignored [-Wduplicate-protocol]
@protocol LogDelegate<NSObject>
^
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundFFmpeg.mm:24:
In file included from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundFFmpeg.h:24:
In file included from /Users/builder/clone/ios/Pods/mobile-ffmpeg-full/mobileffmpeg.framework/Headers/MobileFFmpegConfig.h:24:
/Users/builder/clone/ios/Pods/mobile-ffmpeg-full/mobileffmpeg.framework/Headers/LogDelegate.h:23:11: note: previous definition is here
@protocol LogDelegate<NSObject>
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundFFmpeg.mm:86:17: warning: class 'FlutterSoundEmptyLogDelegate' does not conform to protocol 'LogDelegate' [-Wprotocol]
@implementation FlutterSoundEmptyLogDelegate
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_sound-7.7.0+1/ios/Classes/FlutterSoundFFmpeg.mm:86:17: note: add stubs for missing protocol requirements
@implementation FlutterSoundEmptyLogDelegate
^
2 warnings generated.
ld: warning: dylib (/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/libwebp/libwebp.framework/libwebp) was built for newer iOS version (12.0) than being linked (9.0)
ld: warning: dylib (/Users/builder/Library/Developer/Xcode/DerivedData/Runner-edaimyiflreloheqntgnhkmwcclv/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/FMDB/FMDB.framework/FMDB) was built for newer iOS version (12.0) than being linked (9.0)
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:9:9: warning: non-portable path to file '"SYMetadataExif.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "SYMetadataEXIF.h"
^~~~~~~~~~~~~~~~~~
"SYMetadataExif.h"
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:41:65: warning: 'kCGImagePropertyExifSubsecTimeOrginal' is deprecated: first deprecated in iOS 10.0 - No longer supported [-Wdeprecated-declarations]
SYStringSel(subsecTimeOriginal): (NSString *)kCGImagePropertyExifSubsecTimeOrginal,
^
In module 'ImageIO' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadataExif.m:10:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h:248:34: note: 'kCGImagePropertyExifSubsecTimeOrginal' has been explicitly marked deprecated here
IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifSubsecTimeOrginal IMAGEIO_AVAILABLE_BUT_DEPRECATED(10.4, 10.11, 4.0, 10.0);
^
2 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:49:36: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
+ (instancetype)metadataWithAsset:(ALAsset *)asset
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
@interface ALAsset : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:52:5: warning: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [asset defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:20:12: note: 'ALAssetRepresentation' has been explicitly marked deprecated here
@interface ALAssetRepresentation : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:52:52: warning: 'defaultRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [asset defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:49:1: note: 'defaultRepresentation' has been explicitly marked deprecated here
- (ALAssetRepresentation *)defaultRepresentation AL_DEPRECATED(4, "Use PHImageRequestOptions with the PHImageManager from the Photos framework instead");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:53:57: warning: 'metadata' is deprecated: first deprecated in iOS 9 - Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
return [self metadataWithDictionary:[representation metadata]];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:56:1: note: 'metadata' has been explicitly marked deprecated here
- (NSDictionary *)metadata AL_DEPRECATED(4, "Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:150:13: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
__block ALAsset *assetAtUrl = nil;
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
@interface ALAsset : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:151:5: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
ALAssetsLibrary* library = [[ALAssetsLibrary alloc] init];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:78:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
@interface ALAssetsLibrary : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:151:50: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
ALAssetsLibrary* library = [[ALAssetsLibrary alloc] init];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:78:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
@interface ALAssetsLibrary : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:154:49: warning: 'ALAsset' is deprecated: first deprecated in iOS 9 - Use PHAsset from the Photos framework instead [-Wdeprecated-declarations]
[library assetForURL:assetURL resultBlock:^(ALAsset *asset) {
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:40:12: note: 'ALAsset' has been explicitly marked deprecated here
@interface ALAsset : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:154:14: warning: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
[library assetForURL:assetURL resultBlock:^(ALAsset *asset) {
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:93:1: note: 'assetForURL:resultBlock:failureBlock:' has been explicitly marked deprecated here
- (void)assetForURL:(NSURL *)assetURL resultBlock:(ALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlock:(ALAssetsLibraryAccessFailureBlock)failureBlock AL_DEPRECATED(4, "Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:165:5: warning: 'ALAssetRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [assetAtUrl defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:20:12: note: 'ALAssetRepresentation' has been explicitly marked deprecated here
@interface ALAssetRepresentation : NSObject {
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:165:57: warning: 'defaultRepresentation' is deprecated: first deprecated in iOS 9 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
ALAssetRepresentation *representation = [assetAtUrl defaultRepresentation];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:49:1: note: 'defaultRepresentation' has been explicitly marked deprecated here
- (ALAssetRepresentation *)defaultRepresentation AL_DEPRECATED(4, "Use PHImageRequestOptions with the PHImageManager from the Photos framework instead");
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:166:28: warning: 'metadata' is deprecated: first deprecated in iOS 9 - Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead [-Wdeprecated-declarations]
return [representation metadata];
^
In module 'AssetsLibrary' imported from /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image_compress-0.7.0/ios/Classes/SYPictureMetadata/SYMetadata.m:14:
/Applications/Xcode-12.4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h:56:1: note: 'metadata' has been explicitly marked deprecated here
- (NSDictionary *)metadata AL_DEPRECATED(4, "Use CGImageSourceCopyPropertiesAtIndex() to retrieve metadata from an image returned by the PHImageManager from the Photos framework instead");
^
12 warnings generated.
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:25:28: error: cannot find type 'GADUnifiedNativeAd' in scope
var nativeAdChanged: ((GADUnifiedNativeAd?) -> Void)?
^~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:26:19: error: cannot find type 'GADUnifiedNativeAd' in scope
var nativeAd: GADUnifiedNativeAd? {
^~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:108:34: error: cannot find type 'GADUnifiedNativeAdLoaderDelegate' in scope
extension NativeAdmobController: GADUnifiedNativeAdLoaderDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:110:79: error: cannot find type 'GADRequestError' in scope
func adLoader(_ adLoader: GADAdLoader, didFailToReceiveAdWithError error: GADRequestError) {
^~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:115:65: error: cannot find type 'GADUnifiedNativeAd' in scope
func adLoader(_ adLoader: GADAdLoader, didReceive nativeAd: GADUnifiedNativeAd) {
^~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:56:30: warning: comparing non-optional value of type 'Int' to 'nil' always returns true
if numberAds != nil && numberAds > 1 {
~~~~~~~~~ ^ ~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:62:32: error: type 'Array<GADAdLoaderAdType>.ArrayLiteralElement' (aka 'GADAdLoaderAdType') has no member 'unifiedNative'
adTypes: [.unifiedNative],
~^~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:65:38: error: cannot assign value of type 'NativeAdmobController' to type 'GADAdLoaderDelegate?'
adLoader?.delegate = self
^~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdmobController.swift:65:38: note: add missing conformance to 'GADAdLoaderDelegate' to class 'NativeAdmobController'
adLoader?.delegate = self
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:15:21: error: cannot find type 'GADUnifiedNativeAdView' in scope
class NativeAdView: GADUnifiedNativeAdView {
^~~~~~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:116:34: error: cannot find type 'GADUnifiedNativeAd' in scope
func setNativeAd(_ nativeAd: GADUnifiedNativeAd?) {
^~~~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:108:9: error: 'super' members cannot be referenced in a root class
super.init(frame: frame)
^
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:169:9: error: cannot find 'layoutIfNeeded' in scope
layoutIfNeeded()
^~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:176:14: error: value of type 'NativeAdView' has no member 'mediaView'
self.mediaView = adMediaView
~~~~ ^~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:177:14: error: value of type 'NativeAdView' has no member 'headlineView'
self.headlineView = adHeadLineLbl
~~~~ ^~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:178:14: error: value of type 'NativeAdView' has no member 'callToActionView'
self.callToActionView = callToActionBtn
~~~~ ^~~~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:179:14: error: value of type 'NativeAdView' has no member 'iconView'
self.iconView = adIconView
~~~~ ^~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:180:14: error: value of type 'NativeAdView' has no member 'bodyView'
self.bodyView = adBodyLbl
~~~~ ^~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:181:14: error: value of type 'NativeAdView' has no member 'storeView'
self.storeView = adStoreLbl
~~~~ ^~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:182:14: error: value of type 'NativeAdView' has no member 'priceView'
self.priceView = adPriceLbl
~~~~ ^~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:183:14: error: value of type 'NativeAdView' has no member 'starRatingView'
self.starRatingView = adRatingView
~~~~ ^~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:184:14: error: value of type 'NativeAdView' has no member 'advertiserView'
self.advertiserView = adAdvertiserLbl
~~~~ ^~~~~~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:221:9: error: cannot find 'addSubview' in scope
addSubview(adLabelView)
^~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:226:9: error: cannot find 'addSubview' in scope
addSubview(contentView)
^~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:254:9: error: cannot find 'addSubview' in scope
addSubview(adLabelView)
^~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/NativeAdViews/NativeAdView.swift:259:9: error: cannot find 'addSubview' in scope
addSubview(contentView)
^~~~~~~~~~
/Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_admob-2.1.0+3/ios/Classes/SwiftFlutterNativeAdmobPlugin.swift:109:16: error: cannot convert return expression of type 'NativeAdView' to return type 'UIView'
return nativeAdView
^~~~~~~~~~~~
Command CompileSwift failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Encountered error while archiveing for device.
Build failed :|
Failed to build for iOS
Does this happen with the latest versions of the packages as well? There seem to be a lot of errors (that usually occur with a non-clean build environment) but there is very little related to firebase here.
Hi @markusaksli-nc thanks for replying fast. Does that mean that the error occurs because of some packages are needed to be updated. If that's the case I think I have all my packages upgraded included the firebase ones. Also could you please clarify 'non clean build environment'.
Having this many warnings and errors during the xcode build usually happens if you are attempting to link with an older version of a package or using outdated build cache but that shouldn't be possible on codemagic.
Also I'm not sure it's a great idea to have the podfile generated every time in codemagic. You should still generate it yourself (since you need to change the deployment target version).
You can try to run flutter clean
and then flutter pub get
, change the deployment target, and then commit the resulting changes if there are any.
Hey @markusaksli-nc . I have connected to a VNC using codemagic and have ran the following commands :
flutter clean
rm -Rf ios/Pods
rm -Rf ios/.symlinks
rm -Rf ios/Flutter/Flutter.framework
rm -Rf ios/Flutter/Flutter.podspec
flutter pub get
rm ios/Podfile
and then I have
pod init
pod install
And after that I have pushed it to the repo. The first error doesn't appear anymore but I do have another error now :
== Building for iOS ==
> xcode-project use-profiles
Configure code signing settings
Searching for files matching /Users/builder/Library/MobileDevice/Provisioning Profiles/*.mobileprovision
List available code signing certificates in keychain /private/var/folders/pj/2d8_b7sn6f37c48z4jj09xk80000gn/T/build_y5209zu_.keychain
Searching for files matching /Users/builder/clone/**/*.xcodeproj
Completed configuring code signing settings
- Using profile "com app looper ios_app_store 1603952262" [78e8dd7c-9744-4cb9-9cde-162518539266] for target "Runner" [Debug] from project "Runner"
- Using profile "com app looper ios_app_store 1603952262" [78e8dd7c-9744-4cb9-9cde-162518539266] for target "Runner" [Profile] from project "Runner"
- Using profile "com app looper ios_app_store 1603952262" [78e8dd7c-9744-4cb9-9cde-162518539266] for target "Runner" [Release] from project "Runner"
Generated options for exporting IPA
- Method: app-store
- Provisioning Profiles:
- com.app.looper: com app looper ios_app_store 1603952262
- Signing Certificate: iPhone Distribution
- Signing Style: manual
- Team Id: JT28P8YMBN
Saved export options to /Users/builder/export_options.plist
> flutter build ios --release --no-codesign --build-name=2.0.301 --build-number=401
Running "flutter pub get" in clone...
Warning: You are using these overridden dependencies:
! flutter_cache_manager 3.0.0-nullsafety.1 (3.0.1 available)
! markdown 4.0.0
! path_provider 2.0.1
! plugin_platform_interface 2.0.0
! synchronized 3.0.0
! uuid 3.0.1 (3.0.3 available)
Running "flutter pub get" in clone... 2,647ms
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building com.app.looper for device (ios-release)...
Running pod install...
2,327ms
CocoaPods' output:
β³
Invalid plugin specification: EXCLUDED_ARCHS[sdk=iphonesimulator*]=arm64 i386
[!] Invalid `Podfile` file: no implicit conversion of nil into String.
# from /Users/builder/clone/ios/Podfile:57
# -------------------------------------------
# unless File.exist?(copied_framework_path)
> FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), copied_flutter_dir)
# end
# -------------------------------------------
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:318:in `rescue in block in from_ruby'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:312:in `block in from_ruby'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:50:in `instance_eval'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:50:in `initialize'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:310:in `new'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:310:in `from_ruby'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-core-1.10.1/lib/cocoapods-core/podfile.rb:276:in `from_file'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/config.rb:205:in `podfile'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:160:in `verify_podfile_exists!'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:46:in `run'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/Users/builder/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/Users/builder/.rbenv/versions/2.7.1/bin/pod:23:in `load'
/Users/builder/.rbenv/versions/2.7.1/bin/pod:23:in `<main>'
Error running pod install
Build failed :|
Failed to build for iOS
There is an error mentioned in Line 57 , but I don't know what to do about. Here is my full Podfile :
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def parse_KV_file(file, separator='=')
file_abs_path = File.expand_path(file)
if !File.exists? file_abs_path
return [];
end
generated_key_values = {}
skip_line_start_symbols = ["#", "/"]
File.foreach(file_abs_path) do |line|
next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
plugin = line.split(pattern=separator)
if plugin.length == 2
podname = plugin[0].strip()
path = plugin[1].strip()
podpath = File.expand_path("#{path}", file_abs_path)
generated_key_values[podname] = podpath
else
puts "Invalid plugin specification: #{line}"
end
end
generated_key_values
end
target 'Runner' do
use_frameworks!
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')
copied_framework_path = File.join(copied_flutter_dir, 'Flutter.framework')
copied_podspec_path = File.join(copied_flutter_dir, 'Flutter.podspec')
unless File.exist?(copied_framework_path) && File.exist?(copied_podspec_path)
# Copy Flutter.framework and Flutter.podspec to Flutter/ to have something to link against if the xcode backend script has not run yet.
# That script will copy the correct debug/profile/release version of the framework based on the currently selected Xcode configuration.
# CocoaPods will not embed the framework on pod install (before any build phases can generate) if the dylib does not exist.
generated_xcode_build_settings_path = File.join(copied_flutter_dir, 'Generated.xcconfig')
unless File.exist?(generated_xcode_build_settings_path)
raise "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
generated_xcode_build_settings = parse_KV_file(generated_xcode_build_settings_path)
cached_framework_dir = generated_xcode_build_settings['FLUTTER_FRAMEWORK_DIR'];
unless File.exist?(copied_framework_path)
FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), copied_flutter_dir)
end
unless File.exist?(copied_podspec_path)
FileUtils.cp(File.join(cached_framework_dir, 'Flutter.podspec'), copied_flutter_dir)
end
end
# Keep pod path relative so it can be checked into Podfile.lock.
pod 'Flutter', :path => 'Flutter'
# Plugin Pods
# Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
# referring to absolute paths on developers' machines.
system('rm -rf .symlinks')
system('mkdir -p .symlinks/plugins')
plugin_pods = parse_KV_file('../.flutter-plugins')
plugin_pods.each do |name, path|
symlink = File.join('.symlinks', 'plugins', name)
File.symlink(path, symlink)
pod name, :path => File.join(symlink, 'ios')
end
end
# Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
install! 'cocoapods', :disable_input_output_paths => true
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
So you are deleting the flutter-generated Podfile
and editing the CocoaPods template podfile?
Like I said flutter will automatically generate the correct Podfile
and it should clear your issues if you just use it instead.
It should look something like this
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end
I'm not sure why exactly you are getting the pods error but it's clear the original issue here is kind of out of scope. I'm already optimistically closing this in favor of the new messaging version likely fixing the issues here. If you need help with codemagic builds or the flutter config there are plenty of other channels to ask for help.
@markusaksli-nc thanks for your help , the issue has been solved , by trying your podfile code. About the notifications issue , it was fixed by the new package version.
Hello there. So I am encountering a big issue here. I have set up ios notifications and everything works fine when testing in Testflight . When releasing the update to the App store notifications don't completely work , nor in background or in foreground. Plus that the foreground notifications don't even work at all in testflight nor in in the released version. I have set up everything from xcode to the dart code . In xcode I have added Push notifications and in the capability I have enabled Background Mode and ticked Background fetch and Remote notifications. In the firebase console I habe uploaded The APN key that I got through registering a key . Then I have registered an App Identifier with enabling Push Notifications. I have added
to my info.plist file too . This is my Appswiftdelegate file :
And this the Dart code for send notifications :
Conclusion :