sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.64k stars 462 forks source link

Module 'SPPermissions' has no member named 'native' #165

Closed Charlotte3240 closed 4 years ago

Charlotte3240 commented 4 years ago

not found .native func when I use cocoapods

ivanvorobei commented 4 years ago

Please, attach here you pod file.

Charlotte3240 commented 4 years ago
$ myProject git:(master) ✗ cat Podfile
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'

target 'myProject' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
    pod 'SnapKit'
    pod 'Alamofire'
    pod 'HandyJSON'
    pod 'Kingfisher'
    pod 'RxSwift'
    pod 'RxCocoa'
    pod "ESTabBarController-swift"
    pod 'MBProgressHUD'
        pod 'SPPermissions', '4.1.4'
end
ivanvorobei commented 4 years ago

You use old version. Remove version from podfile and update to 5.x newest.