This is a bit orthogonal to your question, but something we do when running KIF in the simulator is swizzle a few mocked-out methods on to CLLocationManager so that the alerts never appear and so that we get something meaningful or at least reliable back from Location Services. This may be useful.
-> jp
KIF uses undocumented Apple APIs. This is true of most iOS testing frameworks, and is safe for testing purposes, but it's important that KIF does not make it into production code, as it will get your app submission denied by Apple. Follow the instructions below to ensure that KIF is configured correctly for your project.
On Friday, July 13, 2012 at 12:38 AM, Karl Krukow wrote:
On Friday, February 3, 2012 8:57:05 PM UTC+1, Jim Puls wrote:This is a bit orthogonal to your question, but something we do when running KIF in the simulator is swizzle a few mocked-out methods on to CLLocationManager so that the alerts never appear and so that we get something meaningful or at least reliable back from Location Services. This may be useful
Hi Jim,Is it possible for you to share what you did? I'm looking for something similar - so I'd like to start with what you did.- Karl