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

- old
+ new

@@ -191,12 +191,12 @@ 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','--debug','--release',"--output=#{@product_dir}") == false + if CommandRunner.run(@flutter_wrapper, 'build','ios-framework','--no-profile',"--output=#{@product_dir}") == false # FileUtils.remove_dir product_dir, true - raise "Error running #{@flutter_wrapper} build ios-framework --debug --release --output=#{@product_dir} " + raise "Error running #{@flutter_wrapper} build ios-framework --no-profile --output=#{@product_dir} " end end def build_app(mode) if CommandRunner.run(@flutter_wrapper, 'build','ios',"--#{mode}" ,"--no-codesign") == false