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

how to use in cocoapods installed xcode project #177

Closed cagricolak closed 4 years ago

cagricolak commented 4 years ago

Hi Ivan, My project needs to work with cocoapods, I manually copied your library to my project and got the error below.

Fatal error: SPPermissions - Camera not import. Problem NOT with usage description key. I recomend to see installation guide: https://youtu.be/1kR5HGVhJfk.

I watched the your youtube video, and than copied the xcode's relase and debug configurations and followed your suggestion but got the same error again. either I have to disable cocoapods or your library but i have to use your library with my project, what is your suggestion? Thank you.

ivanvorobei commented 4 years ago

For now no way use custom config with Cocoapods. You should choose.

cagricolak commented 4 years ago

hey, hi how you doing again, I deleted #if macros in SPPermission and ran it successfully, how was it... 😎

ivanvorobei commented 4 years ago

If you add all code manually, please check wich permissions you integrate. You can get error with uploading and reject by apple.