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

Getting error saying "CocoaPods could not find compatible versions for pod “RealmSwift”:
In Podfile:
RealmSwift (~> 10.26)

Could you please help me on how to get this?