我正在尝试调试我的测试版,它在iOS 10,Swift 3之前工作得很好,而且我没有看到它的结束。
我不能建造它。我的应用程序在SWIFT2.3 (Xcode 8)中,我在库FileBrowser版本0.1.4中出错
我在Podfile上添加
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '2.3'
end
end
end但是,我的库FileBrowser错误仍然存在编译错误:
previewItemURL类型的可选性与协议“QLPreviewItem”PreviewManager.swift的要求不同
发布于 2016-10-19 13:48:37
库FileBrowser不支持SWIFT2.3,只支持SWIFT2.3。有两个选择:-更改浏览文件的库-将所有项目切换到SWIFE3
https://stackoverflow.com/questions/40110858
复制相似问题