Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26666

Artifactory should have ability to overwrite the cocoapods podspec file in smart remote repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 7.29.7
    • Fix Version/s: None
    • Component/s: CocoaPods
    • Labels:
      None

      Description

      Problem description: When configuring a smart remote repository, which proxies a local Cocoapods repository, “spec.source” in the podspec file which is cached in the remote repository still points to local cocoapods repository

      What is the expected behavior? Artifactory should overwrite the podspecs file with new remote repository URL
      Steps to reproduce:
      Create a local Cocoapod repository
      Create a “Pod” (sharing the same Github repository) and deploy them to the local repository.
      On a new Artifactory instance, create a Smart remote repository pointing to the local instance.
      Create a new project on Xcode, and add the following Podfile to the project:
      x

      plugin 'cocoapods-art', :sources => [
      '<cocoa_repo_name>'
      ]
      target '<project_name>' do
      use_frameworks!
      pod 'demoapp3', '~> 0'
      end

      Execute
      pod install
      Inspect the s.source endpoint in the podspec file in the remote repository cache
      Environment details:
      Artifactory version which the bug was reproduced on: 7.29.8
      Is this an HA env? HA 2 nodes
      Is this On-Prem or SaaS? Local repository and remote repository are in SaaS.
      Possible workaround: Configure the client directly to the local repository.
      Options

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              amithkm Amith Kumar Mutakari
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: