Xcode 9 GM undefined symbols for arm64 architecture

In the Xcode 9 GM release, I get some compile-time errors for undefined symbols for architecture arm64 , namely for AVFoundation with:

  • AVCapturePhotoOutput().supportedFlashModes
  • AVCapturePhotoSettings().availablePreviewPhotoPixelFormatTypes

In both cases, using their "undocumented" __supportedFlashModes / __availablePreviewPhotoPixelFormatTypes builds just fine.

+5
source share
1 answer

They were "inadvertently" marked private. Should be returned with the next version, I think? Workaround above recommended by Apple.

Official answer

+3
source

Source: https://habr.com/ru/post/1271753/


All Articles