美文网首页
Unable to determine Swift versio

Unable to determine Swift versio

作者: Sweet丶 | 来源:发表于2022-10-08 23:21 被阅读0次

OC项目使用pod集成一个Swift库时报错:

[!] Unable to determine Swift version for the following pods:

  • Pod33 does not specify a Swift version and none of the targets (TestBundle) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.

这个解释是说需要在OC项目中设置Swift版本。
Build Settings -》 点击+号,添加“Add User-Defined setting” -> 将新添加的设置命名为“ SWIFT_VERSION” -》设置值为5.0


ppxL2PXCT4.jpg

相关文章

网友评论

      本文标题:Unable to determine Swift versio

      本文链接:https://www.haomeiwen.com/subject/ayzwartx.html