Bug 13313 - [iOS] AddressBook_Constants in LinksdkRegression tests fails on device
Summary: [iOS] AddressBook_Constants in LinksdkRegression tests fails on device
Alias: None
Product: iOS
Classification: Xamarin
Component: Pre-release ()
Version: 6.3.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-07-17 17:13 UTC by GouriKumari
Modified: 2013-07-17 18:08 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Comment 1 Sebastien Pouliot 2013-07-17 17:23:49 UTC
That's because someone authorized the application on the device when it showed it's UI. The apps are designed to be executed automatically from scripts without user intervention.

You need to go the the device settings to reset it.
Comment 2 PJ 2013-07-17 17:26:05 UTC
Hey Gouri,

From the source of the test that failed there is a comment:

// we want to ensure we can get the constants without authorization (on iOS 6.0+) so this application
// needs to be unauthorized (in settings.app). Note: authorization checks only occurs on devices

So it looks like you need to de-authorize the app from accessing the Address Book in settings, then this test will succeed.

Can you see if that works for you?
Comment 3 GouriKumari 2013-07-17 18:08:55 UTC
Verified. Linksdk test was given authorization to use contact details on the device that I was testing. 
On deauthorizing the app, AddressBook_constants test executed successfully.