美文网首页
Cocoapods 在 pod install 之后出现多个 f

Cocoapods 在 pod install 之后出现多个 f

作者: ZHK1024 | 来源:发表于2019-02-21 18:57 被阅读0次

如图, pod install 之后出现出现 2FMDBframework.
然后在 xcode10archive 的时候就会报错: Error: Multiple commands produce....

事例图

一直以来都用 pod init 来创建 Podfile, 也未遇到过什么问题.
Podfile 内容如下:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'TARGET' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for TARGET

end

记得把 platform :ios, '9.0' 注释去掉, 让他生效. 不然就有可能会遇到上面的问题.
暂未深究原因, 有些猜想, 待后续验证.

相关文章

网友评论

      本文标题:Cocoapods 在 pod install 之后出现多个 f

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