lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.6 vs lib/cocoapods-flutter/native/archive/archive.rb in cocoapods-flutter-dt-0.0.7
- old
+ new
@@ -186,24 +186,24 @@
FileUtils.copy_file local_podfile_dir, origin_pod_file_dir
end
def excute_build_run
if CommandRunner.run(@flutter_wrapper, 'packages','pub','run','build_runner','build','--delete-conflicting-outputs') == false
- raise "run build_runner fail"
+ 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
# FileUtils.remove_dir product_dir, true
- raise "run build_runner fail"
+ raise "Error running #{@flutter_wrapper} build ios-framework --output=#{@product_dir} "
end
end
def build_app(mode)
if CommandRunner.run(@flutter_wrapper, 'build','ios',"--#{mode}" ,"--no-codesign") == false
# FileUtils.remove_dir product_dir, true
- raise "run build_runner fail"
+ raise "Error running #{@flutter_wrapper} build ios --#{mode} --no-codesign"
end
end
def fetch_plugins
results = []