Flutter-加入原生,错误信息(Command PhaseS

2019-10-22  本文已影响0人  May_Dobin

问题描述

Command PhaseScriptExecution failed with a nonzero exit code
  flutter_application_path = 'path/name/'
  eval(File.read(File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')), binding)

最近flutter更新后,上面的方式运行pod install 提示完成,但实际并没有引入包

 Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

解决办法:

  flutter_application_path = 'path/name/'
  load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'Demo' do
  install_all_flutter_pods(flutter_application_path)
end
上一篇 下一篇

猜你喜欢

热点阅读