HKWorkoutSession no longer available for iOS 11 in Xcode 9 Beta 4

Originator:dogsonic22
Number:rdar://33526315 Date Originated:7/25/17
Status:Open Resolved:
Product:Xcode Product Version:9 Beta 4
Classification:Bug Reproducible:Yes
 
Summary:
In Xcode 9 Beta 3 I was able to use HKWorkoutSession in iOS 11.  However, in Xcode Beta 4 its unavailable.

Steps to Reproduce:
Reference HKWorkoutSession in an iOS App and the following error occurs:

'HKWorkoutSessionDelegate' is unavailable

Expected Results:
There should be no compile error.

Observed Results:
Compile Error: 'HKWorkoutSessionDelegate' is unavailable

Version:
Xcode 9 Beta 4.  iOS 11 Beta 4

Notes:
Header:
@available(watchOS 2.0, *)
public protocol HKWorkoutSessionDelegate : NSObjectProtocol {

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!