iOS VGGNet App
Taylor Guo, 2017年10月14日,星期六
问题
SwiftPrivate versions of these API by prepending each API with double underscore (__
). For example, change AVCaptureDevice.Format.supportedColorSpaces
to AVCaptureDevice.Format.__supportedColorSpaces
.
参考资料
Undefined symbols for supportedFlashModes in AVCapturePhotoOutput
Apple 回复:AVFoundation capture APIs 用Swift3或4 在Xcode9中被不经意标注成private
AVFoundation API 暂时不能用:
AVCaptureDevice.Format.supportedColorSpaces
AVCaptureDevice.supportedFlashModes
AVCapturePhotoOutput.availablePhotoPixelFormatTypes
AVCapturePhotoOutput.availableRawPhotoPixelFormatTypes
AVCapturePhotoSettings.availablePreviewPhotoPixelFormatTypes
Try Sample AVCAM from apple found error
Apple Mach-O Linker (ld) Error Group with Swift 3 & Xcode 9 GM