Flutter setup for xcode

Job ID: 32841535

Budget: ₹600 – ₹1,500 INR

Hello,
I want install cocoapods in my mac but everytime i get this error

ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.

and also In andriod studio emulator not starting so i want someone who solve my 2 issue.

I attached screenshot below...please check.