fix: ios release构建错误

This commit is contained in:
Liuyf 2025-05-29 16:59:15 +08:00
parent 14fe6223e4
commit 6290fe36e5

View File

@ -143,7 +143,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}_lite.dart", "--build-number=#{build_number}", "--build-name=#{build_version}")