I’d like to find a programatic way to reset the location warnings for the iOS simulator so that it can be automated before test case. I’m specifically trying to incorporate this with the KIF testing framework.
Any API will do, private or public.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have you tried to change the application bundle identifier? It is not clean solution but it can help.
You can also change it programmatically writing skript and running it as one of the build phases.
UPDATE
In your Build Phases section of Project configuration add new phase Run Script
You can use something like that:
And build.sh could look like this:
You will find way to incrementally change bundle identifier
You can find more here: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man8/PlistBuddy.8.html