Flutterfire: [firebase_in_app_messaging] Can't build for iOS after adding firebase_in_app_messaging

Created on 9 Mar 2020  ·  27Comments  ·  Source: FirebaseExtended/flutterfire

Describe the bug
The XCode build fails when it's processing the Firebase In-App messaging native code. Relevant code output:

/Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:33:5: error: unknown type name 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:33:32: error: unknown receiver 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:33:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:34:11: error: no visible @interface for 'FIRMessaging' declares the selector 'triggerEvent:'
        [fiam triggerEvent:eventName];
         ~~~~ ^~~~~~~~~~~~
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:38:5: error: unknown type name 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:38:32: error: unknown receiver 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:38:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:39:10: error: property 'messageDisplaySuppressed' not found on object of type 'FIRMessaging *'
        fiam.messageDisplaySuppressed = [suppress boolValue];
             ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:43:5: error: unknown type name 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:43:32: error: unknown receiver 'FIRInAppMessaging'; did you mean 'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from /Users/bota/svn/mangos/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/bota/svn/mangos/ios/Pods/FirebaseMessaging/Firebase/Messaging/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:43:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/bota/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.1+3/ios/Classes/FirebaseInAppMessagingPlugin.m:44:10: error: property 'automaticDataCollectionEnabled' not found on object of type 'FIRMessaging *'
        fiam.automaticDataCollectionEnabled = [enabled boolValue];
             ^
    12 errors generated.

Relevant packages:

dependencies:
  flutter:
    sdk: flutter

  google_sign_in: ^4.0.1+3
  flutter_facebook_login: ^3.0.0
  firebase_auth: 0.15.3
  firebase_analytics: ^5.0.11
  cloud_firestore: ^0.13.2+1
  cloud_functions: ^0.4.2+2
  firebase_messaging: ^6.0.9
  firebase_in_app_messaging: ^0.1.1+3
  firebase_remote_config: ^0.2.0+3
  firebase_dynamic_links: ^0.5.0+9
  firebase_crashlytics: ^0.1.2+5
  firebase_storage: ^3.1.1

dependency_overrides:
  firebase_core: 0.4.4

Additional context
Flutter doctor -v

[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.15.3 19D76, locale en-BR)
    • Flutter version 1.14.6 at /Users/bota/flutter
    • Framework revision fabeb2a16f (6 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)


[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/bota/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (2 available)
    • falcon          • 0422640871                               • android-arm • Android 5.1.1 (API 22)
    • Rafael's iPhone • 1163974e4a6e4af3506e39396c8fabc9e8ca7b79 • ios         • iOS 12.4.5

• No issues found!
crowd in_app_messaging bug

Most helpful comment

I found out how to fix this

Initially, I had a problem where my Flutter project won't build after adding Firebase In App Messaging plugin with this error
ld: 2 duplicate symbols for architecture arm64

I solved that particular error by running

  • close .xcworkspace
  • flutter clean
  • delete Podfile.lock
  • pod disintegrate
  • pod install

but hit another one..

source
_looks like some remnant file causing an issue, would be great if someone could explain whats happening here.._

On the next build attempt, I hit the same error as this Issue

Then I manage to solve it by using these specific versions together

  • Firebase (6.15.0)
  • FirebaseInAppMessaging (0.16.0)

My pod install kept installing Firebase (6.17.0) and FirebaseInAppMessaging (0.18.0) by default
_what determines which version of a pod is chosen during installation? Would be nice if someone could explain this too_

So I forced it to use an older version by adding
pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0'
at the end of my Podfile

that solved the issue.

I hope this helps someone, I spent a full day just getting FirebaseInAppMessaging to work

Extra notes:
Here is the terminal output of a list of Firebase pods and their versions that were installed in a Flutter app that builds and runs

Installing Firebase (6.15.0)
Installing FirebaseAnalytics (6.2.1)
Installing FirebaseAnalyticsInterop (1.5.0)
Installing FirebaseAuth (6.4.3)
Installing FirebaseAuthInterop (1.0.0)
Installing FirebaseCore (6.6.0)
Installing FirebaseCoreDiagnostics (1.2.0)
Installing FirebaseCoreDiagnosticsInterop (1.2.0)
Installing FirebaseFirestore (1.9.0)
Installing FirebaseInAppMessaging (0.16.0)
Installing FirebaseInAppMessagingDisplay (0.15.5)
Installing FirebaseInstallations (1.1.0)
Installing FirebaseInstanceID (4.3.1)
Installing FirebaseMessaging (4.2.1)

All 27 comments

I have the same problem :(

I too have the problem

any updates on this guys?

I found out how to fix this

Initially, I had a problem where my Flutter project won't build after adding Firebase In App Messaging plugin with this error
ld: 2 duplicate symbols for architecture arm64

I solved that particular error by running

  • close .xcworkspace
  • flutter clean
  • delete Podfile.lock
  • pod disintegrate
  • pod install

but hit another one..

source
_looks like some remnant file causing an issue, would be great if someone could explain whats happening here.._

On the next build attempt, I hit the same error as this Issue

Then I manage to solve it by using these specific versions together

  • Firebase (6.15.0)
  • FirebaseInAppMessaging (0.16.0)

My pod install kept installing Firebase (6.17.0) and FirebaseInAppMessaging (0.18.0) by default
_what determines which version of a pod is chosen during installation? Would be nice if someone could explain this too_

So I forced it to use an older version by adding
pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0'
at the end of my Podfile

that solved the issue.

I hope this helps someone, I spent a full day just getting FirebaseInAppMessaging to work

Extra notes:
Here is the terminal output of a list of Firebase pods and their versions that were installed in a Flutter app that builds and runs

Installing Firebase (6.15.0)
Installing FirebaseAnalytics (6.2.1)
Installing FirebaseAnalyticsInterop (1.5.0)
Installing FirebaseAuth (6.4.3)
Installing FirebaseAuthInterop (1.0.0)
Installing FirebaseCore (6.6.0)
Installing FirebaseCoreDiagnostics (1.2.0)
Installing FirebaseCoreDiagnosticsInterop (1.2.0)
Installing FirebaseFirestore (1.9.0)
Installing FirebaseInAppMessaging (0.16.0)
Installing FirebaseInAppMessagingDisplay (0.15.5)
Installing FirebaseInstallations (1.1.0)
Installing FirebaseInstanceID (4.3.1)
Installing FirebaseMessaging (4.2.1)

I had set Xcode to use the legacy build system at one point. I turned that back to the default (the new one) and it works now along with the above fix.

Facing this issue, any solution yet?

Thanks @chanwenghou
Working with: firebase_in_app_messaging: 0.1.1+3

• Remove Podfile.lock
• Add pod 'Firebase', '6.15.0' and 'FirebaseInAppMessaging', '0.16.0' on Podfile

Podfile
`# Plugin Pods
plugin_pods = parse_KV_file('../.flutter-plugins')
plugin_pods.map { |p|
symlink = File.join('.symlinks', 'plugins', p[:name])
File.symlink(p[:path], symlink)
pod p[:name], :path => File.join(symlink, 'ios')
}

pod 'Firebase', '6.15.0' // add
pod 'FirebaseInAppMessaging', '0.16.0'` // add

• pod install
• cd ..
• flutter run

Thanks @chanwenghou
Working with: firebase_in_app_messaging: 0.1.1+3

• Remove Podfile.lock
• Add pod 'Firebase', '6.15.0' and 'FirebaseInAppMessaging', '0.16.0' on Podfile

Podfile
`# Plugin Pods
plugin_pods = parse_KV_file('../.flutter-plugins')
plugin_pods.map { |p|
symlink = File.join('.symlinks', 'plugins', p[:name])
File.symlink(p[:path], symlink)
pod p[:name], :path => File.join(symlink, 'ios')
}

pod 'Firebase', '6.15.0' // add
pod 'FirebaseInAppMessaging', '0.16.0'` // add

• pod install
• cd ..
• flutter run

Hey, could you help me out? I don't have much experience with swift/xcode but I try to implement this library but also got at this issue. Could you provide some more details on how you were able to fix it? Thanks

@ThinkSimple
You should edit ios/Podfile on the flutter project to fix the versions of Firebase SDK dependencies. It looks like Firebase In App Messaging SDK for iOS has been updated and flutter plugin is actually depending on the old version. (those 6.15.0, 0.16.0 are older versions of SDK.)
The reason pod 'SomeLibrary', 'LibVersion' comes after the # Plugin Pods section is that the specified version should have higher priority than the provided version on the flutter plugin.

Summary

  • Edit Podfile following the above solution by @chanwenghou
  • Remove Podfile.lock
  • Run flutter clean
  • Build for iOS
  • It should work now

Still facing this issue on 0.1.2

Still facing this issue on 0.1.2

Me too, been stuck for days now.

This issue has been occurring since 2020.2. #1956
So, we should upvote #2701, #2151 and #1957. Perhaps this issue has not received little attention...

I found out how to fix this

Initially, I had a problem where my Flutter project won't build after adding Firebase In App Messaging plugin with this error
ld: 2 duplicate symbols for architecture arm64

I solved that particular error by running

  • close .xcworkspace
  • flutter clean
  • delete Podfile.lock
  • pod disintegrate
  • pod install

but hit another one..

source
_looks like some remnant file causing an issue, would be great if someone could explain whats happening here.._

On the next build attempt, I hit the same error as this Issue

Then I manage to solve it by using these specific versions together

  • Firebase (6.15.0)
  • FirebaseInAppMessaging (0.16.0)

My pod install kept installing Firebase (6.17.0) and FirebaseInAppMessaging (0.18.0) by default
_what determines which version of a pod is chosen during installation? Would be nice if someone could explain this too_

So I forced it to use an older version by adding
pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0'
at the end of my Podfile

that solved the issue.

I hope this helps someone, I spent a full day just getting FirebaseInAppMessaging to work

Extra notes:
Here is the terminal output of a list of Firebase pods and their versions that were installed in a Flutter app that builds and runs

Installing Firebase (6.15.0)
Installing FirebaseAnalytics (6.2.1)
Installing FirebaseAnalyticsInterop (1.5.0)
Installing FirebaseAuth (6.4.3)
Installing FirebaseAuthInterop (1.0.0)
Installing FirebaseCore (6.6.0)
Installing FirebaseCoreDiagnostics (1.2.0)
Installing FirebaseCoreDiagnosticsInterop (1.2.0)
Installing FirebaseFirestore (1.9.0)
Installing FirebaseInAppMessaging (0.16.0)
Installing FirebaseInAppMessagingDisplay (0.15.5)
Installing FirebaseInstallations (1.1.0)
Installing FirebaseInstanceID (4.3.1)
Installing FirebaseMessaging (4.2.1)

Your solution finally worked but i had to add pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0' to the end of the podfile before the pod deintegrate and install.

Happening to us in our project as well. I'm hesitant to use the workaround, since manually adding things to the podfile feels pretty janky. The podfile is supposed to be generated during the build phase, and I don't want to have to manually change that every time I want to upgrade firebase versions.

A fix would be greatly appreciated, and is a must-have before we integrate it back into our project.

Same issue, would be nice to have it works without any manual configuration

Hi,
when I try to add the pods to my pod file like this,
``` # Plugin Pods

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

pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0'

I get the error after `pod install`

ErrorArgumentError - invalid byte sequence in US-ASCII

/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/cdn_source.rb:287:in split' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.9.1/lib/cocoapods-core/cdn_source.rb:287:inblock in ensure_versions_file_loaded'
...
```

I'm having the same issue. Everything works on Android, but on iOS it won't build the moment I add Firebase In App Messaging. If I remove it, it builds properly again.

firebase_in_app_messaging: ^0.1.2

Messages like this do not instill confidence:

[!] FirebaseInAppMessagingDisplay has been deprecated in favor of FirebaseInAppMessaging

I wanted to add _Firebase In App Messaging_, but I guess it truly isn't ready for prime time because it causes these build issues that have been around for months! And I'm using the latest stable everything. 😢

It seems to be resolved by #3102 🎉

It appears that PR #3102 is still referencing the deprecated Firebase/InAppMessagingDisplay.

3102 should now be referencing Firebase/InAppMessaging

I found out how to fix this

Initially, I had a problem where my Flutter project won't build after adding Firebase In App Messaging plugin with this error
ld: 2 duplicate symbols for architecture arm64

I solved that particular error by running

  • close .xcworkspace
  • flutter clean
  • delete Podfile.lock
  • pod disintegrate
  • pod install

but hit another one..

source
_looks like some remnant file causing an issue, would be great if someone could explain whats happening here.._

On the next build attempt, I hit the same error as this Issue

Then I manage to solve it by using these specific versions together

  • Firebase (6.15.0)
  • FirebaseInAppMessaging (0.16.0)

My pod install kept installing Firebase (6.17.0) and FirebaseInAppMessaging (0.18.0) by default
_what determines which version of a pod is chosen during installation? Would be nice if someone could explain this too_

So I forced it to use an older version by adding
pod 'Firebase', '6.15.0'
pod 'FirebaseInAppMessaging', '0.16.0'
at the end of my Podfile

that solved the issue.

I hope this helps someone, I spent a full day just getting FirebaseInAppMessaging to work

Extra notes:
Here is the terminal output of a list of Firebase pods and their versions that were installed in a Flutter app that builds and runs

Installing Firebase (6.15.0)
Installing FirebaseAnalytics (6.2.1)
Installing FirebaseAnalyticsInterop (1.5.0)
Installing FirebaseAuth (6.4.3)
Installing FirebaseAuthInterop (1.0.0)
Installing FirebaseCore (6.6.0)
Installing FirebaseCoreDiagnostics (1.2.0)
Installing FirebaseCoreDiagnosticsInterop (1.2.0)
Installing FirebaseFirestore (1.9.0)
Installing FirebaseInAppMessaging (0.16.0)
Installing FirebaseInAppMessagingDisplay (0.15.5)
Installing FirebaseInstallations (1.1.0)
Installing FirebaseInstanceID (4.3.1)
Installing FirebaseMessaging (4.2.1)

So This solution worked for me previously (on Flutter 1.17.5). After upgrading Flutter to the newest release (1.20.1), I get this error:

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "Firebase":
  In snapshot (Podfile.lock):
    Firebase (= 6.27.0)

  In Podfile:
    Firebase (= 6.15.0)

    firebase_in_app_messaging (from `.symlinks/plugins/firebase_in_app_messaging/ios`) was resolved to 0.0.1, which depends on
      Firebase


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` inside your development pod `firebase_in_app_messaging`.
   You should run `pod update Firebase` to apply changes you've made.

Don't think this is related to the Flutter upgrade, but there were no other changes.
Packages:

  firebase_core: ^0.4.4+3
  firebase_dynamic_links: ^0.5.0+11
  firebase_messaging: ^6.0.13
  firebase_in_app_messaging: 0.1.1+3
  firebase_analytics: ^5.0.11

After seeing the new pr, I updated all the packages to their latest versions:

  firebase_core: ^0.4.5
  firebase_dynamic_links: ^0.5.3
  firebase_messaging: ^6.0.16
  firebase_in_app_messaging: ^0.1.2
  firebase_analytics: ^5.0.16

removed pod, pod install and got the original error (Please ignore the warnings of other packages):


Xcode build done.                                           338.1s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:86:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                      if (_isLooping) {
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:90:57: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                        if (_eventSink) {
                                                            ^
                                                            self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:91:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                          _eventSink(@{@"event" : @"completed"});
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:188:20: warning: unused variable 'size' [-Wunused-variable]
                CGSize size = videoTrack.naturalSize;
                       ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:212:10: warning: unused variable 'size' [-Wunused-variable]
      CGSize size = item.presentationSize;
             ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:185:15: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
              if (_disposed) return;
                  ^
                  self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:191:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                _preferredTransform = [self fixTransform:videoTrack];
                ^
                self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:197:56: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                    [self getVideoCompositionWithTransform:_preferredTransform
                                                           ^
                                                           self->
    8 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:86:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                      if (_isLooping) {
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:90:57: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                        if (_eventSink) {
                                                            ^
                                                            self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:91:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                          _eventSink(@{@"event" : @"completed"});
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:156:75: warning: values of type 'NSInteger' should not be used as format arguments; add an
    explicit cast to 'long' instead [-Wformat]
        NSLog(@"TX and TY are 0. Rotation: %d. Natural width,height: %f, %f", rotationDegrees,
                                           ~~                                 ^~~~~~~~~~~~~~~
                                           %ld                                (long)
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:188:20: warning: unused variable 'size' [-Wunused-variable]
                CGSize size = videoTrack.naturalSize;
                       ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:212:10: warning: unused variable 'size' [-Wunused-variable]
      CGSize size = item.presentationSize;
             ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:185:15: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
              if (_disposed) return;
                  ^
                  self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:191:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                _preferredTransform = [self fixTransform:videoTrack];
                ^
                self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:197:56: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                    [self getVideoCompositionWithTransform:_preferredTransform
                                                           ^
                                                           self->
    9 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/Flut
    terWebviewPlugin.m:92:22: warning: incompatible pointer to integer conversion assigning to 'BOOL'
    (aka 'signed char') from 'id _Nullable' [-Wint-conversion]
        _enableAppScheme = call.arguments[@"enableAppScheme"];
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/Flut
    terWebviewPlugin.m:434:98: warning: values of type 'NSInteger' should not be used as format
    arguments; add an explicit cast to 'long' instead [-Wformat]
        [channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString stringWithFormat:@"%ld",
        error.code], @"url": url}];
                                                                                               ~~~
                                                                                               ^~~~~~~~~~
                                                                                               %ld
                                                                                               (long)
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/Flut
    terWebviewPlugin.m:442:98: warning: values of type 'NSInteger' should not be used as format
    arguments; add an explicit cast to 'long' instead [-Wformat]
        [channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString stringWithFormat:@"%ld",
        error.code], @"error": error.localizedDescription}];
                                                                                               ~~~
                                                                                               ^~~~~~~~~~
                                                                                               %ld
                                                                                               (long)
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.11/ios/Classes/Flut
    terWebviewPlugin.m:450:106: warning: values of type 'NSInteger' should not be used as format
    arguments; add an explicit cast to 'long' instead [-Wformat]
                [channel invokeMethod:@"onHttpError" arguments:@{@"code": [NSString
                stringWithFormat:@"%ld", response.statusCode], @"url": webView.URL.absoluteString}];
                                                                                                       ~~~
                                                                                                       ^~~~~~~~~~
                                                                                                       ~~~~~~~~~
                                                                                                       %ld
                                                                                                       (long)
    4 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:30:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
              if UIApplication.shared.canOpenURL(whatsAppUrl as! URL) {
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:31:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
                    UIApplication.shared.openURL(whatsAppUrl as! URL)
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:30:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
              if UIApplication.shared.canOpenURL(whatsAppUrl as! URL) {
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:31:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
                    UIApplication.shared.openURL(whatsAppUrl as! URL)
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:2
    4: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    - (void)captureOutput:(AVCapturePhotoOutput *)output
                           ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:69:4
    3: warning: 'AVCaptureResolvedPhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
                            resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings
                                              ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1311:12:
    note: 'AVCaptureResolvedPhotoSettings' has been marked as being introduced in iOS 10.0 here, but
    the deployment target is iOS 8.0.0
    @interface AVCaptureResolvedPhotoSettings : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : warning: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' is only
    available on iOS 10.0 or newer [-Wunguarded-availability]
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:489:1: note:
    'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' has been marked as
    being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    + (nullable NSData
    *)JPEGPhotoDataRepresentationForJPEGSampleBuffer:(CMSampleBufferRef)JPEGSampleBuffer
    previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer
    API_DEPRECATED_WITH_REPLACEMENT("-[AVCapturePhoto fileDataRepresentation]", ios(10.0, 11.0))
    API_UNAVAILABLE(macos, macCatalyst);
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : note: enclose 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' in an
    @available check to silence this warning
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:163:
    52: warning: this block declaration is not a prototype [-Wstrict-prototypes]
    @property(nonatomic, copy) void (^onFrameAvailable)();
                                                       ^
                                                        void
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:170:
    32: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    @property(readonly, nonatomic) AVCapturePhotoOutput *capturePhotoOutput;
                                   ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:158:
    12: note: annotate 'FLTCam' with an availability attribute to silence this warning
    @interface FLTCam : NSObject <FlutterTexture,
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note:
    'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note:
    'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41:
    note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but
    the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41:
    note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but
    the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:850:
    10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
            [_registry textureFrameAvailable:textureId];
             ^
             self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note:
    'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note:
    'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:447:38: note:
    'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS 10.0 here,
    but the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera
    API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                         ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence
    this warning
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    15 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:2
    4: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    - (void)captureOutput:(AVCapturePhotoOutput *)output
                           ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:69:4
    3: warning: 'AVCaptureResolvedPhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
                            resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings
                                              ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:1311:12:
    note: 'AVCaptureResolvedPhotoSettings' has been marked as being introduced in iOS 10.0 here, but
    the deployment target is iOS 8.0.0
    @interface AVCaptureResolvedPhotoSettings : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : warning: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' is only
    available on iOS 10.0 or newer [-Wunguarded-availability]
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:489:1: note:
    'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' has been marked as
    being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    + (nullable NSData
    *)JPEGPhotoDataRepresentationForJPEGSampleBuffer:(CMSampleBufferRef)JPEGSampleBuffer
    previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer
    API_DEPRECATED_WITH_REPLACEMENT("-[AVCapturePhoto fileDataRepresentation]", ios(10.0, 11.0))
    API_UNAVAILABLE(macos, macCatalyst);
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : note: enclose 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' in an
    @available check to silence this warning
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:163:
    52: warning: this block declaration is not a prototype [-Wstrict-prototypes]
    @property(nonatomic, copy) void (^onFrameAvailable)();
                                                       ^
                                                        void
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:170:
    32: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    @property(readonly, nonatomic) AVCapturePhotoOutput *capturePhotoOutput;
                                   ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:158:
    12: note: annotate 'FLTCam' with an availability attribute to silence this warning
    @interface FLTCam : NSObject <FlutterTexture,
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:48:12: note:
    'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note:
    'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h:777:12: note:
    'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41:
    note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but
    the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h:130:41:
    note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0 here, but
    the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:850:
    10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
            [_registry textureFrameAvailable:textureId];
             ^
             self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note:
    'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876:12: note:
    'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:447:38: note:
    'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS 10.0 here,
    but the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera
    API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                         ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence
    this warning
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    15 warnings generated.
    While building module 'DKImagePickerController' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/file_picker-1.13.3/ios/Classes/FilePickerPlugi
    n.m:5:
    While building module 'DKPhotoGallery' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKImagePickerController/
    DKImagePickerController.framework/Headers/DKImagePickerController-Swift.h:960:
    In file included from <module-includes>:2:
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:697:51: warning: 'UIPreviewActionItem' is only
    available on iOS 9.0 or newer [-Wunguarded-availability]
    @property (nonatomic, readonly, copy) NSArray<id <UIPreviewActionItem>> * _Nonnull
    previewActionItems;
                                                      ^
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:683:11: note: 'UIPreviewActionItem' has been marked
    as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @protocol UIPreviewActionItem;
              ^
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:688:12: note: annotate 'DKPhotoBasePreviewVC' with
    an availability attribute to silence this warning
    @interface DKPhotoBasePreviewVC : UIViewController <UIScrollViewDelegate>
               ^
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:763:51: warning: 'UIPreviewActionItem' is only
    available on iOS 9.0 or newer [-Wunguarded-availability]
    @property (nonatomic, readonly, copy) NSArray<id <UIPreviewActionItem>> * _Nonnull
    previewActionItems;
                                                      ^
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:683:11: note: 'UIPreviewActionItem' has been marked
    as being introduced in iOS 9.0 here, but the deployment target is iOS 8.0.0
    @protocol UIPreviewActionItem;
              ^
    /Users/superuser/StudioProjects/kp-flutter-app/build/ios/Release-iphoneos/DKPhotoGallery/DKPhotoGa
    llery.framework/Headers/DKPhotoGallery-Swift.h:739:12: note: annotate 'DKPhotoGallery' with an
    availability attribute to silence this warning
    @interface DKPhotoGallery : UINavigationController <UIViewControllerTransitioningDelegate>
               ^
    2 warnings generated.
    2 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/file_picker-1.13.3/ios/Classes/FilePickerPlugi
    n.m:90:125: warning: incompatible pointer to integer conversion sending 'id _Nullable' to
    parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
            [self resolvePickMedia:[FileUtils resolveMediaType:call.method]
            withMultiPick:isMultiplePick withCompressionAllowed:[arguments
            valueForKey:@"allowCompression"]];
                                                                                                                                ^~~~~~~~~~
                                                                                                                                ~~~~~~~~~~
                                                                                                                                ~~~~~~~~~~
                                                                                                                                ~~~~~~~~~~
                                                                                                                                ~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/file_picker-1.13.3/ios/Classes/FilePickerPlugi
    n.m:126:102: note: passing argument to parameter 'allowCompression' here
    - (void) resolvePickMedia:(MediaType)type withMultiPick:(BOOL)multiPick
    withCompressionAllowed:(BOOL)allowCompression  {
                                                                                                         ^
    3 warnings generated.
    2 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:34:11: error: no visible @interface for 'FIRMessaging' declares the
    selector 'triggerEvent:'
        [fiam triggerEvent:eventName];
         ~~~~ ^~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:37:51: warning: incompatible pointer to integer conversion sending
    'id _Nullable' to parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
        NSNumber *suppress = [NSNumber numberWithBool:call.arguments];
                                                      ^~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_in_app_messaging/firebase_in_app_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:100:36: note: passing
    argument to parameter 'value' here
    + (NSNumber *)numberWithBool:(BOOL)value;
                                       ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:39:10: error: property 'messageDisplaySuppressed' not found on object
    of type 'FIRMessaging *'
        fiam.messageDisplaySuppressed = [suppress boolValue];
             ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:42:50: warning: incompatible pointer to integer conversion sending
    'id _Nullable' to parameter of type 'BOOL' (aka 'signed char') [-Wint-conversion]
        NSNumber *enabled = [NSNumber numberWithBool:call.arguments];
                                                     ^~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_in_app_messaging/firebase_in_app_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0
    .sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h:100:36: note: passing
    argument to parameter 'value' here
    + (NSNumber *)numberWithBool:(BOOL)value;
                                       ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:44:10: error: property 'automaticDataCollectionEnabled' not found on
    object of type 'FIRMessaging *'
        fiam.automaticDataCollectionEnabled = [enabled boolValue];
             ^
    2 warnings and 12 errors generated.
    note: Using new build systemnote: Planning buildnote: Constructing build descriptionwarning: None
    of the architectures in ARCHS (armv7, arm64) are valid. Consider setting ARCHS to
    $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64). (in
    target 'Runner' from project 'Runner')

Encountered error while building for device.
Stars-Air:kp-flutter-app superuser$ clear

Stars-Air:kp-flutter-app superuser$ flutter devices
2 connected devices:

iPhone 8 (mobile)            • 62B6FFE2-7D3E-44C5-96A9-016FD567241A • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
iPad Pro (9.7-inch) (mobile) • 540DC67C-5923-4AEE-A286-DCBC6AEA96AB • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
Stars-Air:kp-flutter-app superuser$ flutter -d 62B6FFE2-7D3E-44C5-96A9-016FD567241A
Manage your Flutter app development.

Common commands:

  flutter create <output directory>
    Create a new Flutter project in the specified directory.

  flutter run [options]
    Run your Flutter application on an attached device or in an emulator.

Usage: flutter <command> [arguments]

Global options:
-h, --help                  Print this usage information.
-v, --verbose               Noisy logging, including all shell commands executed.
                            If used with --help, shows hidden options.
-d, --device-id             Target device id or name (prefixes allowed).
    --version               Reports the version of this tool.
    --suppress-analytics    Suppress analytics reporting when this command runs.

Available commands:
  analyze           Analyze the project's Dart code.
  assemble          Assemble and build flutter resources.
  attach            Attach to a running application.
  bash-completion   Output command line shell completion setup scripts.
  build             Flutter build commands.
  channel           List or switch flutter channels.
  clean             Delete the build/ and .dart_tool/ directories.
  config            Configure Flutter settings.
  create            Create a new Flutter project.
  devices           List all connected devices.
  doctor            Show information about the installed tooling.
  downgrade         Downgrade Flutter to the last active version for the current channel.
  drive             Runs Flutter Driver tests for the current project.
  emulators         List, launch and create emulators.
  format            Format one or more dart files.
  install           Install a Flutter app on an attached device.
  logs              Show log output for running Flutter apps.
  precache          Populates the Flutter tool's cache of binary artifacts.
  pub               Commands for managing Flutter packages.
  run               Run your Flutter app on an attached device.
  screenshot        Take a screenshot from a connected device.
  symbolize         Symbolize a stack trace from an AOT compiled flutter application.
  test              Run Flutter unit tests for the current project.
  upgrade           Upgrade your copy of Flutter.

Run "flutter help <command>" for more information about a command.
Run "flutter help -v" for verbose help output, including less commonly used options.
Stars-Air:kp-flutter-app superuser$ flutter run -d 62B6FFE2-7D3E-44C5-96A9-016FD567241A
Launching lib/main.dart on iPhone 8 in debug mode...

Running pod install...                                             14.7s
Running Xcode build...                                                  

Xcode build done.                                           97.3s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:86:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                      if (_isLooping) {
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:90:57: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                        if (_eventSink) {
                                                            ^
                                                            self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:91:55: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                                                          _eventSink(@{@"event" : @"completed"});
                                                          ^
                                                          self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:156:75: warning: values of type 'NSInteger' should not be used as format arguments; add an
    explicit cast to 'long' instead [-Wformat]
        NSLog(@"TX and TY are 0. Rotation: %d. Natural width,height: %f, %f", rotationDegrees,
                                           ~~                                 ^~~~~~~~~~~~~~~
                                           %ld                                (long)
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:188:20: warning: unused variable 'size' [-Wunused-variable]
                CGSize size = videoTrack.naturalSize;
                       ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:212:10: warning: unused variable 'size' [-Wunused-variable]
      CGSize size = item.presentationSize;
             ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:185:15: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
              if (_disposed) return;
                  ^
                  self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:191:13: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                _preferredTransform = [self fixTransform:videoTrack];
                ^
                self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/video_player-0.10.0+2/ios/Classes/VideoPlayerP
    lugin.m:197:56: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate
    this is intended behavior [-Wimplicit-retain-self]
                    [self getVideoCompositionWithTransform:_preferredTransform
                                                           ^
                                                           self->
    9 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:30:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
              if UIApplication.shared.canOpenURL(whatsAppUrl as! URL) {
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/flutter_open_whatsapp-0.1.2/ios/Classes/SwiftF
    lutterOpenWhatsappPlugin.swift:31:58: warning: forced cast from 'NSURL?' to 'URL' only unwraps and
    bridges; did you mean to use '!' with 'as'?
                    UIApplication.shared.openURL(whatsAppUrl as! URL)
                                                 ~~~~~~~~~~~ ^~~ ~~~
                                                            !as
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:2
    4: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    - (void)captureOutput:(AVCapturePhotoOutput *)output
                           ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :48:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:69:4
    3: warning: 'AVCaptureResolvedPhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
                            resolvedSettings:(AVCaptureResolvedPhotoSettings *)resolvedSettings
                                              ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :1311:12: note: 'AVCaptureResolvedPhotoSettings' has been marked as being introduced in iOS 10.0
    here, but the deployment target is iOS 8.0.0
    @interface AVCaptureResolvedPhotoSettings : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:66:1
    : note: annotate
    'captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:brac
    ketSettings:error:' with an availability attribute to silence this warning
    - (void)captureOutput:(AVCapturePhotoOutput *)output
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : warning: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' is only
    available on iOS 10.0 or newer [-Wunguarded-availability]
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :489:1: note: 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' has been
    marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    + (nullable NSData
    *)JPEGPhotoDataRepresentationForJPEGSampleBuffer:(CMSampleBufferRef)JPEGSampleBuffer
    previewPhotoSampleBuffer:(nullable CMSampleBufferRef)previewPhotoSampleBuffer
    API_DEPRECATED_WITH_REPLACEMENT("-[AVCapturePhoto fileDataRepresentation]", ios(10.0, 11.0))
    API_UNAVAILABLE(macos, macCatalyst);
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:78:7
    : note: enclose 'JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:' in an
    @available check to silence this warning
          JPEGPhotoDataRepresentationForJPEGSampleBuffer:photoSampleBuffer
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :48:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:77:1
    9: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      NSData *data = [AVCapturePhotoOutput
                      ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:163:
    52: warning: this block declaration is not a prototype [-Wstrict-prototypes]
    @property(nonatomic, copy) void (^onFrameAvailable)();
                                                       ^
                                                        void
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:170:
    32: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
    @property(readonly, nonatomic) AVCapturePhotoOutput *capturePhotoOutput;
                                   ^
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :48:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:158:
    12: note: annotate 'FLTCam' with an availability attribute to silence this warning
    @interface FLTCam : NSObject <FlutterTexture,
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: warning: 'AVCapturePhotoOutput' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :48:12: note: 'AVCapturePhotoOutput' has been marked as being introduced in iOS 10.0 here, but the
    deployment target is iOS 8.0.0
    @interface AVCapturePhotoOutput : AVCaptureOutput
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:257:
    26: note: enclose 'AVCapturePhotoOutput' in an @available check to silence this warning
      _capturePhotoOutput = [AVCapturePhotoOutput new];
                             ^~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :777:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but
    the deployment target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    3: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: warning: 'AVCapturePhotoSettings' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCapturePhotoOutput.h
    :777:12: note: 'AVCapturePhotoSettings' has been marked as being introduced in iOS 10.0 here, but
    the deployment target is iOS 8.0.0
    @interface AVCapturePhotoSettings : NSObject <NSCopying>
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:276:
    39: note: enclose 'AVCapturePhotoSettings' in an @available check to silence this warning
      AVCapturePhotoSettings *settings = [AVCapturePhotoSettings photoSettings];
                                          ^~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset
    .h:130:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0
    here, but the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:299:
    48: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
          if ([_captureSession canSetSessionPreset:AVCaptureSessionPreset3840x2160]) {
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: warning: 'AVCaptureSessionPreset3840x2160' is only available on iOS 9.0 or newer
    [-Wunguarded-availability]
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset
    .h:130:41: note: 'AVCaptureSessionPreset3840x2160' has been marked as being introduced in iOS 9.0
    here, but the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureSessionPreset const AVCaptureSessionPreset3840x2160
    API_AVAILABLE(macos(10.15), ios(9.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                            ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:300:
    41: note: enclose 'AVCaptureSessionPreset3840x2160' in an @available check to silence this warning
            _captureSession.sessionPreset = AVCaptureSessionPreset3840x2160;
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:850:
    10: warning: block implicitly retains 'self'; explicitly mention 'self' to indicate this is
    intended behavior [-Wimplicit-retain-self]
            [_registry textureFrameAvailable:textureId];
             ^
             self->
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876
    :12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here,
    but the deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    5: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: warning: 'AVCaptureDeviceDiscoverySession' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:1876
    :12: note: 'AVCaptureDeviceDiscoverySession' has been marked as being introduced in iOS 10.0 here,
    but the deployment target is iOS 8.0.0
    @interface AVCaptureDeviceDiscoverySession : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:804:
    58: note: enclose 'AVCaptureDeviceDiscoverySession' in an @available check to silence this warning
        AVCaptureDeviceDiscoverySession *discoverySession = [AVCaptureDeviceDiscoverySession
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: warning: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer
    [-Wunguarded-availability]
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'AVFoundation' imported from
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:6:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h:447:
    38: note: 'AVCaptureDeviceTypeBuiltInWideAngleCamera' has been marked as being introduced in iOS
    10.0 here, but the deployment target is iOS 8.0.0
    AVF_EXPORT AVCaptureDeviceType const AVCaptureDeviceTypeBuiltInWideAngleCamera
    API_AVAILABLE(macos(10.15), ios(10.0)) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
                                         ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/camera-0.5.8+2/ios/Classes/CameraPlugin.m:805:
    44: note: enclose 'AVCaptureDeviceTypeBuiltInWideAngleCamera' in an @available check to silence
    this warning
            discoverySessionWithDeviceTypes:@[ AVCaptureDeviceTypeBuiltInWideAngleCamera ]
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    15 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:195:43: warning: 'FIRMessagingRemoteMessage' is deprecated: FCM direct
    channel is deprecated, please use APNs for downstream message handling.
    [-Wdeprecated-declarations]
    - (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                                              ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:219:1: note: 'FIRMessagingRemoteMessage' has been explicitly marked
    deprecated here
    __deprecated_msg(
    ^
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/usr/include/sys/cdefs.h:191:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:307:24: warning: 'FIRMessagingRemoteMessage' is deprecated: FCM direct
    channel is deprecated, please use APNs for downstream message handling.
    [-Wdeprecated-declarations]
        didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                           ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:219:1: note: 'FIRMessagingRemoteMessage' has been explicitly marked
    deprecated here
    __deprecated_msg(
    ^
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/usr/include/sys/cdefs.h:191:48: note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:141:30: warning: 'shouldEstablishDirectChannel' is deprecated: FCM direct
    channel is deprecated, please use APNs channel for downstream message delivery.
    [-Wdeprecated-declarations]
        [FIRMessaging messaging].shouldEstablishDirectChannel = true;
                                 ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:283:56: note: 'shouldEstablishDirectChannel' has been explicitly marked
    deprecated here
    @property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
                                                           ^
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/usr/include/AvailabilityMacros.h:181:64: note: expanded from macro
    'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:196:52: warning: 'appData' is deprecated [-Wdeprecated-declarations]
      [self didReceiveRemoteNotification:remoteMessage.appData];
                                                       ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:226:62: note: 'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/usr/include/AvailabilityMacros.h:179:60: note: expanded from macro
    'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:306:1: warning: implementing deprecated method [-Wdeprecated-implementations]
    - (void)messaging:(FIRMessaging *)messaging
    ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:253:1: note: method 'messaging:didReceiveMessage:' declared here
    - (void)messaging:(FIRMessaging *)messaging
    ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-6.0.16/ios/Classes/FLTFireb
    aseMessagingPlugin.m:308:63: warning: 'appData' is deprecated [-Wdeprecated-declarations]
      [_channel invokeMethod:@"onMessage" arguments:remoteMessage.appData];
                                                                  ^
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:226:62: note: 'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'UIKit' imported from /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Target
    Support Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhon
    eSimulator13.0.sdk/usr/include/AvailabilityMacros.h:179:60: note: expanded from macro
    'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    6 warnings generated.
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:33:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:34:11: error: no visible @interface for 'FIRMessaging' declares the
    selector 'triggerEvent:'
        [fiam triggerEvent:eventName];
         ~~~~ ^~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:38:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:39:10: error: property 'messageDisplaySuppressed' not found on object
    of type 'FIRMessaging *'
        fiam.messageDisplaySuppressed = [suppress boolValue];
             ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:5: error: unknown type name 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
        ^~~~~~~~~~~~~~~~~
        FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:32: error: unknown receiver 'FIRInAppMessaging'; did you mean
    'FIRMessaging'?
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                   ^~~~~~~~~~~~~~~~~
                                   FIRMessaging
    In module 'FirebaseMessaging' imported from
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/superuser/StudioProjects/kp-flutter-app/ios/Pods/FirebaseMessaging/FirebaseMessaging/Source
    s/Public/FIRMessaging.h:270:12: note: 'FIRMessaging' declared here
    @interface FIRMessaging : NSObject
               ^
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:43:50: error: no known class method for selector 'inAppMessaging'
        FIRInAppMessaging *fiam = [FIRInAppMessaging inAppMessaging];
                                                     ^~~~~~~~~~~~~~
    /Users/superuser/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.1.2/ios/Classes/Fi
    rebaseInAppMessagingPlugin.m:44:10: error: property 'automaticDataCollectionEnabled' not found on
    object of type 'FIRMessaging *'
        fiam.automaticDataCollectionEnabled = [enabled boolValue];
             ^
    12 errors generated.
    note: Using new build systemnote: Planning buildnote: Constructing build descriptionwarning: The
    use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc
    inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging
    enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to
    "Default" for the "Runner" target. (in target 'Runner' from project 'Runner')warning: Mapping
    architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build
    settings are configured correctly for the iOS Simulator platform. (in target 'in_app_purchase'
    from project 'Pods')warning: Mapping architecture arm64 to x86_64. Ensure that this target's
    Architectures and Valid Architectures build settings are configured correctly for the iOS
    Simulator platform. (in target 'in_app_purchase' from project 'Pods')warning: Mapping architecture
    armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are
    configured correctly for the iOS Simulator platform. (in target 'image_picker' from project
    'Pods')warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and
    Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in
    target 'image_picker' from project 'Pods')warning: Mapping architecture armv7 to i386. Ensure that
    this target's Architectures and Valid Architectures build settings are configured correctly for
    the iOS Simulator platform. (in target 'camera' from project 'Pods')warning: Mapping architecture
    arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings
    are configured correctly for the iOS Simulator platform. (in target 'camera' from project 'Pods')

Could not build the application for the simulator.
Error launching application on iPhone 8.

What am I doing wrong here?

Is this Fixed yet ?

Any updates on this?

Is this Fixed yet ?

I've seen it fixed in latest version (0.2.0+1)

Yeah. Works fine for me after 0.2.0+1

Closing this as it's fixed.

Was this page helpful?
0 / 5 - 0 ratings