gpt4 book ai didi

ios - 针对 iOS 11.0 但仍收到警告 : is only available on iOS 10. 0 或更新版本

转载 作者:可可西里 更新时间:2023-11-01 04:44:56 24 4
gpt4 key购买 nike

我将项目和目标部署目标都设置为 11.0。我还删除了派生数据,清理并重建(多次)......但我仍然遇到这些错误。还有什么我可能会想念的吗?我确实将部署目标从 9.x 更改为 11.0。也许我错过了什么。

AVCapturePhotoOutput' is only available on iOS 10.0 or newer AVCaptureResolvedPhotoSettings' is only available on iOS 10.0 or newer AVCaptureDeviceTypeBuiltInWideAngleCamera' is only available on iOS 10.0 or newer

和其他几个

最佳答案

如果您使用的是 CocoaPods,这可能是因为为它链接的库设置了错误的目标。这是一个已知的 CocaPods issue .

在问题得到解决之前,我正在使用这个临时“修复”,它已经从我的项目中删除了 103 个警告。您可以将它放在 Podfile 的底部:

# temporary fix for this issue to suppress a ton of warnings
# https://github.com/CocoaPods/CocoaPods/issues/7314
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end

关于ios - 针对 iOS 11.0 但仍收到警告 : is only available on iOS 10. 0 或更新版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50069244/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com