Flutter IOS : CocoaPods could not find compatible versions for pod "simple_permissions":

4,043

Go to your flutter project. Navigate to ios and open Podfile Replace the second line of that file with this:

platform :ios, '10.0'

simple_permissions doesn't work for iOS versions below 10.0

Share:
4,043
komal akhani
Author by

komal akhani

I am a Flutter cum Android Developer. I love to solve complex problems of android & flutter. I have a passion for building new things by continuously learning new things. Flutter is love. Please don't target me with serial upvotes/downvotes.Thanks!!

Updated on December 06, 2022

Comments

  • komal akhani
    komal akhani over 1 year

    I am new to flutter and developing Permission demo in flutter. I used simple_permission plugin for the same,this plugin works in android but in ios it gives me below error:

    CocoaPods could not find compatible versions for pod "simple_permissions":

      In snapshot (Podfile.lock):
        simple_permissions (from `.symlinks/plugins/simple_permissions/ios`)
    
      In Podfile:
        simple_permissions (from `.symlinks/plugins/simple_permissions/ios`) 
    

    Please help to solve this error!!