Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find a specification for pods that exist in remote #55

Open
kyledold opened this issue Aug 10, 2021 · 2 comments
Open

Unable to find a specification for pods that exist in remote #55

kyledold opened this issue Aug 10, 2021 · 2 comments

Comments

@kyledold
Copy link

I have cocoapods v1.10.1 and cocoapods-art v1.0.5 installed.

My pod file looks like this:

platform :ios, '12.0'

plugin 'cocoapods-art', :sources => [
    'cocoaPods-remote'
]

target 'MyApp' do
    inhibit_all_warnings!
    use_frameworks!

    pod 'Adjust', '4.28.0'
    pod 'AdobeMobileSDK', '4.20.0'
    pod 'Firebase/Core', '6.34.0'
    pod 'Firebase/RemoteConfig', '6.34.0'
    pod 'Firebase/Messaging', '6.34.0'
    pod 'Firebase/Crashlytics', '6.34.0'
    pod 'Firebase/Analytics', '6.34.0'
    pod 'GoogleAppMeasurement', '6.9.0'

end

I have only 1 remote repo ("cocoaPods-remote") where all my dependencies should pull from.

$ pod repo

0 repos

$ pod repo-art

cocoaPods-remote
- URL: https://artifactory.[redacted]/artifactory/api/pods/cocoaPods-remote
- Path: /Users/[redacted]/.cocoapods/repos-art/cocoaPods-remote/

1 repo

The "cocoaPods-remote" repo has been installed locally and when I run the pod install --repo-update command I get the following error:

$ pod install --repo-update
/Users/[redacted]/.cocoapods/repos-art/cocoaPods-remote/.artpodrc
Analyzing dependencies
/Users/[redacted]/.cocoapods/repos-art/cocoaPods-remote/.artpodrc
[!] Unable to find a specification for `Adjust (= 4.28.0)`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.

I've tried multiple different versions of CocoaPods and still same issue.
I've following the documentation in artifacory about setting this up but it hasn't changed anything.
I'm not sure what else to try, any suggestions would be helpful.

@willamssouzazup
Copy link

I have the same problem. Did you have any solution @kyledold?

@kyledold
Copy link
Author

kyledold commented Aug 15, 2022

@willamssouzazup I did manage to fix this but it was a year ago so I've completely forgotten how I did it unfortunately.

Can you try run pod env and see if anything strange shows for "Repositories"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants