iOS
中加入 flutter
的module
,提示以下错误:Command PhaseScriptExecution failed with a nonzero exit code 复制代码
flutter
低版本中Podfile.
文件是经过如下方式加入到原生工程中,flutter_application_path = 'path/name/' eval(File.read(File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')), binding) 复制代码
最近flutter
更新后,上面的方式运行pod install
提示完成,但实际并无引入包ios
Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.
复制代码
Podfile
文件,内容以下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 复制代码
pod install
。