SimulatorPermissions is a library that allows you to easily grant permissions on a simulator for unit testing purposes.
For example, you may have an app that deals with contacts and you need to get that permission. You could manually get the permission within the simulator and then run your unit tests, but this wouldn't work testing in a CI/CD environment. With this library, you can set the necessary permissions allowing you test on a simulator without ever having to manually hit Allow on a prompt requesting for permission.
This library is intended to be the successor to JPSimulatorHacks.
SimulatorPermissions is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SimulatorPermissions'
New to CocoaPods? click here for more information and a setup guide
Mathew Yaldo, mathewyaldo@oakland.edu
SimulatorPermissions is available under the MIT license. See the LICENSE file for more info.