Fintasys / emoji_picker_flutter

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

Error building on iOS after plugin installation. #107

Closed emmanuelochem closed 1 year ago

emmanuelochem commented 1 year ago
2022-10-02 09:24:39.049 xcodebuild[93995:581979] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore

BUILD FAILED Xcode's output: ↳ Writing result bundle at path: /var/folders/s0/3q2wzgbs7n5dt04jqv0s197h0000gn/T/flutter_tools.Fp0YMN/flutter_ios_build_temp_dirakL8Jt/temporary_xcresult_bundle : Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.

Could not build the application for the simulator. Error launching application on iPhone 12 Pro Max. Exited (sigterm)

Fintasys commented 1 year ago

The error message says Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.

This was changed with Flutter 3 and that means probably that you project is not using Flutter 3, yet. You have to use a previous version of the plugin if you don't plan to update your project.

emmanuelochem commented 1 year ago

Okay thanks for the early reply. I am using flutter 2.10.4. I'll consider updating...