Bug 34140 - HKErrorDomain is not surfaced
Summary: HKErrorDomain is not surfaced
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: 9.1 (iOS 9.1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-21 18:04 UTC by Cody Beyer (MSFT)
Modified: 2015-10-28 15:02 UTC (History)
3 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description Cody Beyer (MSFT) 2015-09-21 18:04:14 UTC
### Description

The below Apple API docs described a Constant which informs what the domain owns the error from HealthKit

This does not appear to be available at this time in Xamarin.iOS

### Apple Doc

https://developer.apple.com/library/prerelease/watchos/documentation/HealthKit/Reference/HealthKit_Constants/index.html#//apple_ref/doc/constant_group/Health_Kit_Error_Domain

### Xamarin.iOS API Docs

https://developer.xamarin.com/api/namespace/HealthKit/

### Versions

=== Xamarin Studio ===

Version 5.9.7 (build 10)
Installation UUID: 852fb169-eb98-4eeb-93fb-5f54eb55f790
Runtime:
	Mono 4.0.4 ((detached/cb6d6b2)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400040002

=== Apple Developer Tools ===

Xcode 7.0 (8227)
Build 7A220

=== Xamarin.iOS ===

Version: 9.0.1.18 (Business Edition)
Hash: d230615
Branch: master
Build date: 2015-09-16 17:04:13-0400

=== Xamarin.Android ===

Version: 5.1.6.7 (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.2.111 (Business Edition)

=== Build Information ===

Release ID: 509070010
Git revision: 4f45c78e4d931a316efa87079b128dd0aa5db951
Build date: 2015-09-17 14:49:26-04
Xamarin addins: 96968464da2a0d5a14494688c270a3ba3f8aec03
Comment 1 Sebastien Pouliot 2015-09-29 19:36:35 UTC
Added in maccore/xcode7.1 83ccfac495657f4e1ed2f3d3bf6846a7541790c8
Comment 2 Mohit Kheterpal 2015-10-28 15:02:34 UTC
I have tried to verify this issue and observed that HKErrorCodeExtensions class are not appearing with X.iOS 9.0.1.18, however with iOS 9 builds of  XI i.e. 9.1.0.27, HKErrorCodeExtension class is appearing in Assembly browser and HKErrorDomain is appearing as shown in screencast :  http://www.screencast.com/t/VSTdC6an

As of now, I am closing this issue. Please let me know if I have to check something else to verify this issue.

Thanks