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

1

10

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!!

Exosphere answered 10/8, 2018 at 10:6 Comment(0)
S
34

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

Slade answered 21/8, 2018 at 18:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.