Fintasys / emoji_picker_flutter

A Flutter package that provides an Emoji picker widget with 1500+ emojis in 8 categories.
MIT License
155 stars 115 forks source link

IOS Build issue after upgrade plugin to latest #35

Closed bhanuka96 closed 2 years ago

bhanuka96 commented 2 years ago

I upgrade the plugin and run the CI. CI is failed on IOS. I checked manually and it's because of the latest version of this plugin.

Log

 While building module 'FirebaseMessaging' imported from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Headers/Public/
    Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Target Support
    Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18
    :
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:37:38: warning: 'UNMutableNotificationContent' is only available on
    iOS 10.0 or newer [-Wunguarded-availability]
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
                                         ^
    In module 'UserNotifications' imported from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Devel
    oper/SDKs/iPhoneOS15.0.sdk/System/Library/Frameworks/UserNotifications.frame
    work/Headers/UNNotificationContent.h:97:12: note:
    'UNMutableNotificationContent' has been marked as being introduced in iOS
    10.0 here, but the deployment target is iOS 9.0.0
    @interface UNMutableNotificationContent : UNNotificationContent
               ^
    While building module 'FirebaseMessaging' imported from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Headers/Public/
    Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Target Support
    Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18
    :
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:37:1: note: annotate
    'populateNotificationContent:withContentHandler:' with an availability
    attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:38:47: warning: 'UNNotificationContent' is only available on iOS
    10.0 or newer [-Wunguarded-availability]
                     withContentHandler:(void (^)(UNNotificationContent
                     *_Nonnull))contentHandler;
                                                  ^
    In module 'UserNotifications' imported from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:22:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Devel
    oper/SDKs/iPhoneOS15.0.sdk/System/Library/Frameworks/UserNotifications.frame
    work/Headers/UNNotificationContent.h:37:12: note: 'UNNotificationContent'
    has been marked as being introduced in iOS 10.0 here, but the deployment
    target is iOS 9.0.0
    @interface UNNotificationContent : NSObject <NSCopying, NSMutableCopying,
    NSSecureCoding>
               ^
    While building module 'FirebaseMessaging' imported from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Headers/Public/
    Firebase/Firebase.h:66:
    In file included from <module-includes>:1:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/Target Support
    Files/FirebaseMessaging/FirebaseMessaging-umbrella.h:13:
    In file included from
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FirebaseMessaging.h:18
    :
    /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app/ios/Pods/FirebaseMessagi
    ng/FirebaseMessaging/Sources/Public/FirebaseMessaging/FIRMessagingExtensionH
    elper.h:37:1: note: annotate
    'populateNotificationContent:withContentHandler:' with an availability
    attribute to silence this warning
    - (void)populateNotificationContent:(UNMutableNotificationContent *)content
    ^
    2 warnings generated.
    2 warnings generated.
    ../../../../dev/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-2
    .3.1/lib/src/webview.dart:432:7: Error: The non-abstract class
    '_PlatformCallbacksHandler' is missing implementations for these members:
     - WebViewPlatformCallbacksHandler.onUrlChanged
    Try to either
     - provide an implementation,
     - inherit an implementation from a superclass or mixin,
     - mark the class as abstract, or
     - provide a 'noSuchMethod' implementation.
bhanuka96 commented 2 years ago

Temp solution: downgrade plugin to 1.0.7

Fintasys commented 2 years ago

Thank you for reporting 🙇 I will take look tomorrow!

Fintasys commented 2 years ago

@bhanuka96 I tried to compile the example and a private project that uses the library. Both compiled without any issue on iOS. Also your error log doesn't mentioned the library with any word, I assume the error is hidden somewhere else on your side :(