简体   繁体   English

Xcode 9 GM未定义的架构arm64符号

[英]Xcode 9 GM undefined symbols for architecture arm64

In Xcode 9's GM release, I am getting some compile-time errors for undefined symbols for architecture arm64 , namely for AVFoundation with: 在Xcode 9的GM版本中,我undefined symbols for architecture arm64得到了一些编译时错误,即AVFoundation:

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

In both cases, using their "undocumented" __supportedFlashModes / __availablePreviewPhotoPixelFormatTypes builds just fine. 在这两种情况下,使用他们的“未记录的” __supportedFlashModes / __availablePreviewPhotoPixelFormatTypes构建就好了。

  1. Has anybody encountered the same issues in other frameworks? 有没有人在其他框架中遇到过同样的问题?
  2. API does not document such breaking changes , is this a bug? API没有记录这些重大变化 ,这是一个错误吗?

They were "inadvertently" marked private. 他们被“无意中”标记为私人。 Should be reverted with next release I guess? 应该用下一个版本还原我猜? Workaround above is recommended by Apple. Apple建议使用上述解决方法。

Official response 官方回应

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM