Flutter中文社区Flutter圈子Flutter

[!] The 'Pods-Runner' target has

2019-10-21  本文已影响0人  JairusTse

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

上一篇 下一篇

猜你喜欢

热点阅读