你能帮我吗?
如何解决此错误?
Xcode的输出: ↳ ===具有配置调试功能的项目运行器的构建目标运行器=== 对于使用Swift的目标,必须将“ Swift语言版本”(SWIFT_VERSION)构建设置设置为支持的值。此设置可以 在构建设置编辑器中进行设置。
无法为模拟器构建应用程序。启动错误 iPhone 8上的应用程序。
是的,已经尝试过了。
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0' # add this
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
但不为我工作。
有人知道其他方式吗?