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

Always Get Fatal Error #175

Closed kalathiyanilesh1 closed 4 years ago

kalathiyanilesh1 commented 4 years ago

getting error like Fatal error: SPPermission - Camera not import and app crashed.

i already added camera permission in info.plist file

ivanvorobei commented 4 years ago

Please, send me all error, which print in console.

kalathiyanilesh1 commented 4 years ago

Screenshot 2020-03-18 at 6 33 03 PM Screenshot 2020-03-18 at 6 33 12 PM Screenshot 2020-03-18 at 6 33 44 PM

ivanvorobei commented 4 years ago

@kalathiyanilesh1 please, for help you read that need Please, send me all error, which print in console.

It all error in console. Please, it need see.

Also please, send me Podfile.

And please, confirm that you read readme before.

kalathiyanilesh1 commented 4 years ago

@ivanvorobei here is my podfile

pod 'IQKeyboardManagerSwift' pod 'SwiftyJSON' pod 'SwiftMessages' pod 'Alamofire' pod 'SCPageControl' pod 'FloatingPanel' pod 'GoogleMaps' pod 'GooglePlaces' pod 'SPPermissions', '4.1.4' end

and console all error :

Fatal error: SPPermissions - Camera not import. Problem NOT with usage description key. I recomend to see installation guide: https://youtu.be/1kR5HGVhJfk. More details in Readme: https://github.com/ivanvorobei/SPPermissions: file /Users/imac/Documents/SourceCode/Boxly/boxly-app/BOXLY/Models/Libs/SPPermissions/Models/SPPermission.swift, line 125 2020-03-19 17:05:31.600680+0530 BOXLY[17560:184541] Fatal error: SPPermissions - Camera not import. Problem NOT with usage description key. I recomend to see installation guide: https://youtu.be/1kR5HGVhJfk. More details in Readme: https://github.com/ivanvorobei/SPPermissions: file /Users/imac/Documents/SourceCode/Boxly/boxly-app/BOXLY/Models/Libs/SPPermissions/Models/SPPermission.swift, line 125

ivanvorobei commented 4 years ago

Dear friend, please, pay more attention. See log

Fatal error: SPPermissions - Camera not import. Problem NOT with usage description key. I recomend to see installation guide: https://youtu.be/1kR5HGVhJfk. More details in Readme: https://github.com/ivanvorobei/SPPermissions

Problem NOT with description key. Also please, see how install SPPermission. You podfile incorrect.

kalathiyanilesh1 commented 4 years ago

Hello @ivanvorobei ,

i create separate new demo for sppermission here is my ios code download it & let me know what was the issue.

https://we.tl/t-ijwOTe2g7f

ivanvorobei commented 4 years ago

@kalathiyanilesh1 please, read installation guide. not allowed install via pod 'SPPermissions

As I say before, You podfile incorrect