Performance issue during insertion of document to collection between Android and iOS

Sure!

If we knew what version of CocoaPods you were using (pod --version) and could see your entire podfile we may be able to spot the issue.

Here’s mine (for macOS)

project 'My Great Realm App'
target 'My Great Realm App' do
  use_frameworks!
  platform :osx, '10.15'
   pod 'RealmSwift', '~>10'
end

There’s an installation guide right on the Realm site as well for reference