lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.8 vs lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.9

- old
+ new

@@ -191,13 +191,13 @@ raise "Error running #{@flutter_wrapper} packages pub run build_runner build --delete-conflicting-outputs" end end def build_framework - if CommandRunner.run(@flutter_wrapper, 'build','ios-framework',"--output=#{@product_dir}") == false + if CommandRunner.run(@flutter_wrapper, 'build','ios-framework','--debug','--release',"--output=#{@product_dir}") == false # FileUtils.remove_dir product_dir, true - raise "Error running #{@flutter_wrapper} build ios-framework --output=#{@product_dir} " + raise "Error running #{@flutter_wrapper} build ios-framework --debug --release --output=#{@product_dir} " end end def build_app(mode) if CommandRunner.run(@flutter_wrapper, 'build','ios',"--#{mode}" ,"--no-codesign") == false @@ -386,10 +386,10 @@ File.open spec_file, "w+" do |file| file.write spec.to_pretty_json end Dir.chdir temp_dir do |dir| - Pod::Command::Repo::Push.run([@pod_repo, '--verbose', '--allow-warnings', "--sources=#{@sources.join(',')}"]) + Pod::Command::Repo::Push.run([@pod_repo, '--skip-import-validation', '--verbose', '--allow-warnings', "--sources=#{@sources.join(',')}"]) end end end