Sha256: 329fa77da2bf8b91e47080445e27fafa64ed27f5882aeb3f72a6dff687a11226

Contents?: true

Size: 751 Bytes

Versions: 29

Compression:

Stored size: 751 Bytes

Contents

# Let cocoapods use the prebuild framework files in install process.
#
# the code only effect the second pod install process.
#
module Pod
  class Installer
    # Modify specification to use only the prebuild framework after analyzing
    original_resolve_dependencies = instance_method(:resolve_dependencies)
    define_method(:resolve_dependencies) do
      original_resolve_dependencies.bind(self).call

      # check the pods
      # Although we have did it in prebuild stage, it's not sufficient.
      # Same pod may appear in another target in form of source code.
      # Prebuild.check_one_pod_should_have_only_one_target(prebuilt_pod_targets)
      validate_every_pod_only_have_one_form
      alter_specs_for_prebuilt_pods
    end
  end
end

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
cocoapods-binary-artifactory-cache-0.0.2 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.1 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.14 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.13 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.12 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.11 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.10 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.9 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-0.1.8 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb