delba / Permission

A unified API to ask for permissions on iOS
MIT License
2.91k stars 324 forks source link

Use without Carthage or Cocoapods -> error: Type 'Permission' has no member 'locationWhenInUse' #85

Closed dillidon closed 7 years ago

dillidon commented 7 years ago

how can I solve that?

I copied all files as well as .xcconfig to project's root dir... Till update to Swift 3.0 everything was working

jessetipton commented 7 years ago

I just started seeing this as well after switching from Carthage to CocoaPods (But for notifications, not locationWhenInUse).

delba commented 7 years ago

@dillidon You have to set the .xcconfig file as a configuration file in your project configurations. You might want to use Carthage though, it will make it so much easier :)

@jessetipton There is no need of using PermissionConfiguration.xcconfig with CocoaPods. See the instructions here.