当我将 facebook SDK pod 安装到我的 ios 项目中时,它显示“:-1:SWIFT_VERSION '5.0'不受支持,支持的版本为:3.0、4.0、4.2。(在目标'FacebookCore'中)”
我用的是迅捷4.2
有什么解决办法吗?
如果遇到此错误,请像任何 pod 一样更改 podfile swift 版本
喜欢
Select pods of your project
After then you follow the steps as described in the image and change the swift version for the pod
![next steps](https://i.stack.imgur.com/miFXl.png)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)