美文网首页
Could not find or use auto-linke

Could not find or use auto-linke

作者: 天空中的球 | 来源:发表于2020-06-07 13:36 被阅读0次

Could not find or use auto-linked library 'swiftCoreFoundation'

错误显示

以上是我在集成 FBSDKLoginKit 之后,Xcode 是 Version 11.5 (11E608c) 的错。

方案一:网上推荐的 降级 并没有效果, 就是制定一个版本

pod 'FBSDKLoginKit', '~> 5.0.2'

木有用。

方案二: 尝试添加 use_frameworks! iOS/Podfile

use_frameworks!

依然没有用。

方案三:在 library search paths 中添加

$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)

方案四:增加一个 Swift 的空文件

Swift Bridge

效果可行,但有点不甘,因为一个OC 项目添加一个空的 Swift 就是为了解决一个报错,如有好的方法欢迎推荐哈啊。

相关文章

网友评论

      本文标题:Could not find or use auto-linke

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