[!] The 'Pods-Runner' target has

作者: JairusTse | 来源:发表于2019-10-21 10:26 被阅读0次

Flutter 在ios/profile开启支持swift后出现上面的报错,

platform :ios, '9.0'
use_frameworks!

解决办法: 在ios/profile加上:

pre_install do |installer|
  # workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
  Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

答案来源:issue

相关文章

网友评论

    本文标题:[!] The 'Pods-Runner' target has

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