lib/cocoapods-ppbuild/Prebuild.rb in cocoapods-ppbuild-1.0.6 vs lib/cocoapods-ppbuild/Prebuild.rb in cocoapods-ppbuild-1.0.9

- old
+ new

@@ -224,11 +224,11 @@ end end # hook run_plugins_post_install_hooks 方法 install_hooks_method = instance_method(:run_plugins_post_install_hooks) - define_method(:run_plugins_post_install_hooks) do - install_hooks_method.bind(self).() + define_method(:run_plugins_post_install_hooks) do |*args| + install_hooks_method.bind(self).(*args) if Pod::is_prebuild_stage self.prebuild_frameworks! end end end \ No newline at end of file