I have a scenario where I am testing a framework and it requires certain Info.plist entries in the host app (location permissions, in this case).
The framework looks for Info.plist entries at runtime and throws an exception for certain access functionality (relating to location) if the key is not present.
When using Xcode 7 testing, however, unit tests are run within a "runner" bundle/app that seems to be auto-created by Xcode. However, specifying the appropriate Info.plist keys in my test target isn't sufficient; these don't end up in the runner target.
Should I be doing something differently, or should I alter my framework to recognize scenarios like this specific to testing? Obviously I'd like to limit the latter, since branching the code to be different for testing and for live use is likely to result in less reliable code and defeats the purpose of testing.
Have you got the solution to this? It's bugging us now.