pod repo update --verbose
update repo to relates versions.
My current Apollo 0.18.1
I want to update to Apollo 0.19.0
. But failed with pod repo update
.
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
ℹ Please replace these two lines with the output of pod env
.
CocoaPods : 1.8.4
Ruby : ruby 2.2.9p480 (2017-12-15 revision 61259) [x86_64-darwin17]
RubyGems : 2.6.14
Host : Mac OS X 10.15.1 (19B88)
Xcode : 11.2 (11B52)
Git : git version 2.21.0
Ruby lib dir : /Users/jerryzhou/.rvm/rubies/ruby-2.2.9/lib
Repositories : master - git - https://github.com/CocoaPods/Specs.git @ 3ef589a4ce0a195047e33699558d0a315ccd6bbf
trunk - CDN - https://cdn.cocoapods.org/
Executable Path: /Users/jerryzhou/.rvm/rubies/ruby-2.2.9/bin/pod
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.1.0
cocoapods-trunk : 1.4.1
cocoapods-try : 1.1.0
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
# source 'https://github.com/CocoaPods/Specs.git'
target 'Angelo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Angelo
pod "Apollo"
pod 'SnapKit'
target 'AngeloTests' do
inherit! :search_paths
# Pods for testing
end
target 'AngeloUITests' do
# Pods for testing
end
end
This is a debug message in verbose
mode, what is the issue you are experiencing exactly?
Ignore me I re-read the request, not sure what is happening here.
I update the content @dnkoutso
Did you try pod update Apollo
?
jerryzhou@Jerrys-MacBook ~/D/c/f/g/g/1/Angelo> pod update Apollo --verbose
Preparing
Updating local specs repositories
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo
update
The same
jerryzhou@Jerrys-MacBook ~/D/c/f/g/g/1/Angelo> ping cdn.cocoapods.org
PING cdn.cocoapods.org (178.128.17.49): 56 data bytes
64 bytes from 178.128.17.49: icmp_seq=0 ttl=46 time=286.457 ms
64 bytes from 178.128.17.49: icmp_seq=1 ttl=46 time=285.457 ms
64 bytes from 178.128.17.49: icmp_seq=2 ttl=45 time=287.056 ms
Can you set pod "Apollo", '0.19.0'
and try pod install
?
jerryzhou@Jerrys-MacBook ~/D/c/f/g/g/1/Angelo> pod install --verbose
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Angelo`: (``)
Using `ARCHS` setting to build architectures of target `Pods-AngeloTests`: (``)
Using `ARCHS` setting to build architectures of target `Pods-Angelo-AngeloUITests`: (``)
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo
update
CDN: trunk Relative path: all_pods_versions_a_6_c.txt exists! Returning local because checking is only perfomed in
repo update
CDN: trunk Relative path: Specs/a/6/c/Apollo/0.18.1/Apollo.podspec.json exists! Returning local because checking
is only perfomed in repo update
CDN: trunk Relative path: all_pods_versions_1_f_6.txt exists! Returning local because checking is only perfomed in
repo update
CDN: trunk Relative path: Specs/1/f/6/SnapKit/5.0.1/SnapKit.podspec.json exists! Returning local because checking
is only perfomed in repo update
[!] CocoaPods could not find compatible versions for pod "Apollo":
In Podfile:
Apollo (= 0.19.0)
None of your spec sources contain a spec satisfying the dependency: `Apollo (= 0.19.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.
* not added the source repo that hosts the Podspec to your Podfile.
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:257:in `process_topmost_state'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:94:in `resolve'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:986:in `block in resolve_dependencies'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:984:in `resolve_dependencies'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:410:in `analyze'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:156:in `install!'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:52:in `run'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9@global/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/Users/jerryzhou/.rvm/rubies/ruby-2.2.9/bin/pod:23:in `load'
/Users/jerryzhou/.rvm/rubies/ruby-2.2.9/bin/pod:23:in `<main>'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/bin/ruby_executable_hooks:24:in `eval'
/Users/jerryzhou/.rvm/gems/ruby-2.2.9/bin/ruby_executable_hooks:24:in `<main>'
Sorry I dont know of a better answer than pod repo remove trunk
and pod install
.
I'll try that later since I think which would time consuming
trunk should be super fast to setup unline the git repo.
Ah and sorry, I see Apollo only 0.18.1 now.
-> Apollo (0.18.1)
A GraphQL client for iOS, written in Swift.
pod 'Apollo', '~> 0.18.1'
- Homepage: https://github.com/apollographql/apollo-ios
- Source: https://github.com/apollographql/apollo-ios.git
- Versions: 0.18.1, 0.18.0, 0.17.0, 0.16.1, 0.16.0, 0.15.3, 0.15.1, 0.15.0, 0.14.0, 0.13.0, 0.12.0, 0.11.1, 0.11.0, 0.10.1, 0.10.0, 0.9.5,
0.9.4, 0.9.3, 0.9.2, 0.9.1, 0.9.0, 0.8.0, 0.7.0, 0.7.0-alpha.11, 0.7.0-alpha.10, 0.7.0-alpha.9, 0.7.0-alpha.8, 0.7.0-alpha.7, 0.7.0-alpha.6,
0.7.0-alpha.5, 0.7.0-alpha.4, 0.7.0-alpha.3, 0.7.0-alpha.2, 0.7.0-alpha.1, 0.6.5, 0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0-beta.1, 0.5.6, 0.5.5,
0.5.4, 0.5.3, 0.5.2, 0.5.1, 0.4.3, 0.4.2, 0.4.1, 0.4.0, 0.3.2, 0.3.1, 0.3.0, 0.2.3, 0.2.2, 0.1.0 [trunk repo]
- Subspecs:
- Apollo/Core (0.18.1)
- Apollo/SQLite (0.18.1)
- Apollo/WebSocket (0.18.1)
jerryzhou@Jerrys-MacBook ~/D/c/f/g/g/1/Angelo> pod repo remove trunk
Removing spec repo `trunk`
jerryzhou@Jerrys-MacBook ~/D/c/f/g/g/1/Angelo> pod install --verbose
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Angelo`: (``)
Using `ARCHS` setting to build architectures of target `Pods-AngeloTests`: (``)
Using `ARCHS` setting to build architectures of target `Pods-Angelo-AngeloUITests`: (``)
Resolving dependencies of `Podfile`
Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/`
CDN: trunk Relative path downloaded: CocoaPods-version.yml, save ETag: "031c25b97a0aca21900087e355dcf663-ssl"
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
CDN: trunk Relative path downloaded: all_pods_versions_a_6_c.txt, save ETag: "05a826481c9663c4ab8f7fbeb66e939e-ssl"
CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/a/6/c/Apollo/0.3.0/Apollo.podspec.json to
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/6/c/Apollo/0.3.0/Apollo.podspec.json
CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/a/6/c/Apollo/0.19.0/Apollo.podspec.json to
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/a/6/c/Apollo/0.19.0/Apollo.podspec.json
CDN: trunk Redirecting from https://cdn.cocoapods.org/Specs/a/6/c/Apollo/0.11.1/Apollo.podspec.json to
[....long log...]
CDN: trunk Relative path: Specs/1/f/6/SnapKit/0.12.0/SnapKit.podspec.json modified during this run! Returning local
CDN: trunk Relative path: Specs/1/f/6/SnapKit/0.11.0/SnapKit.podspec.json modified during this run! Returning local
CDN: trunk Relative path: Specs/1/f/6/SnapKit/0.10.0/SnapKit.podspec.json modified during this run! Returning local
Comparing resolved specification to the sandbox manifest
M Apollo
- SnapKit
Downloading dependencies
-> Installing Apollo 0.19.0 (was 0.18.1 and source changed to `https://cdn.cocoapods.org/` from `trunk`)
> Git download
> Git download
$ /usr/local/bin/git clone https://github.com/apollographql/apollo-ios.git
/var/folders/bq/0y_hcgwj1vn4zmx1792w93480000gp/T/d20191114-22836-1ml4pij --template= --single-branch --depth 1 --branch 0.19.0
Cloning into '/var/folders/bq/0y_hcgwj1vn4zmx1792w93480000gp/T/d20191114-22836-1ml4pij'...
Yes, it looks working.
Most helpful comment
Sorry I dont know of a better answer than
pod repo remove trunk
andpod install
.