lib/pod/command/package.rb in ty-cocoapods-packager-1.5.6 vs lib/pod/command/package.rb in ty-cocoapods-packager-1.5.7

- old
+ new

@@ -55,11 +55,11 @@ help! '--exclude-deps option can only be used for static libraries' if @exclude_deps && @dynamic end def run if @path.nil? || @spec.nil? - help! 'Unable to find a podspec with path or name.' + help! "Unable to find a podspec with path or name `#{@name}`." return end target_dir, work_dir = create_working_directory return if target_dir.nil? @@ -78,10 +78,10 @@ static_sandbox = build_static_sandbox(@dynamic) static_installer = install_pod(platform.name, static_sandbox) if @dynamic dynamic_sandbox = build_dynamic_sandbox(static_sandbox, static_installer) - install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer) + install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer, platform) end begin perform_build(platform, static_sandbox, dynamic_sandbox)