fix: 修复构建失败问题。

This commit is contained in:
Liuyf 2025-05-26 14:15:27 +08:00
parent 261a0363e5
commit 5d0da71780

View File

@ -89,7 +89,8 @@ platform :ios do
sh("flutter","pub","get")
end
Dir.chdir ".." do
sh("bundle", "exec" ,"pod", "install")
#sh("bundle", "exec" ,"pod", "install")
sh("pod", "install")
end
Dir.chdir "../.." do
sh("flutter", "build", "ios", "--no-tree-shake-icons", "--no-codesign", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_#{env}.dart", "--build-number=#{build_number}", "--build-name=#{build_version}")