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-cache-next-0.1.16 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-cache-next-0.1.15 lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.19 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.18 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.17 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.16 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.15 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.14 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.13 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.12 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.11 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.10 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.9 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-ht-1.0.0 lib/cocoapods-binary-ht/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.8 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.7 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.6 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.5 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.4 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb
cocoapods-binary-artifactory-cache-0.0.3 lib/cocoapods-binary-artifactory-cache/pod-binary/integration/patch/resolve_dependencies.rb