Good Morning,
in the Xcode9 Golden Master it seems that `supportedFlashMode` is missing for AVCapturePhotoOutput. The API Changes indicates no changes for the AVFoundation Framework from Xcode 9 Beta 6 to Xcode 9 GM, but it seems to have a changed.
Can anybody else confirm the problem?
Regards,
Andreas
Our apologies. For apps using Swift 3.2 or Swift 4.0, several AVFoundation capture APIs (public extensions on external protocol) were inadvertently marked private in Xcode 9.
The following AVFoundation API are temporarily unavailable:
* `AVCaptureDevice.Format.supportedColorSpaces`
* `AVCaptureDevice.supportedFlashModes`
* `AVCapturePhotoOutput.availablePhotoPixelFormatTypes`
* `AVCapturePhotoOutput.availableRawPhotoPixelFormatTypes`
* `AVCapturePhotoSettings.availablePreviewPhotoPixelFormatTypes`
As a workaround you can use the SwiftPrivate versions of these API by prepending each API with double underscore (`__`). For example, change `AVCaptureDevice.Format.supportedColorSpaces` to `AVCaptureDevice.Format.__supportedColorSpaces`.