Flutter: did not find header ‘config.h’ in framework ‘ruby’ when running sudo gem install cocoapods on big sur macOS.

While setting up flutter and installing cocoapods on mac os, you might run into this error on Big Sur macOS in this log file:


/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: note: did not find header…

How to fix Flutter: error:MissingPluginException(No implementation found for method logIn on vscode
Photo by Procreator UX Design Studio on Unsplash

I keep getting MissingPluginException on flutter while running my iPhone simulator build. I hope by writing the solution down here, I can help those who had this error too. Here is a solution to solving this quickly!

How does this error happen?

MissingPluginException happens to me when I successfully installed a flutter_facebook_login pub package on…

How to flutter format or add " to your profanity string in mac vscode on dart.

At first, I was looking for a simple list of profanity words to filter on my firebase server but I only managed to find a raw text file from GitHub which look like this:

Phong Yew Tong

Flutter, Blockchain, NFTs, Firebase. Visit www.gamevsus.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store