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

Cocoapods(1.11.3 ) proxy issue #11818

Open
mdrauf2001 opened this issue Mar 15, 2023 · 0 comments
Open

Cocoapods(1.11.3 ) proxy issue #11818

mdrauf2001 opened this issue Mar 15, 2023 · 0 comments

Comments

@mdrauf2001
Copy link

We have created a cocoapods proxy repo in Nexus.
While testing the proxy we found that it only works with cocoapods 1.8.0 and it fails when upgrading cocoapods version to 1.11.3
Error:
Resolving dependencies of Podfile
CDN: net-cfnxj01-repository-cocoapods.org Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
CDN: net-cfnxj01-repository-cocoapods.org Relative path: all_pods_versions_a_7_5.txt exists! Returning local because checking is only performed in repo update
CDN: net-cfnxj01-repository-cocoapods.org URL couldn't be downloaded: https://nexus-******/repository/cocoapods.org/Specs/a/7/5/AFNetworking/1.1.1/AFNetworking.podspec.json Response: SSL peer certificate or SSH remote key
was not OK, retries: 4
CDN: net-cfnxj01-repository-cocoapods.org URL couldn't be downloaded: https://nexus-******/repository/cocoapods.org/Specs/a/7/5/AFNetworking/1.1.1/AFNetworking.podspec.json Response: SSL peer certificate or SSH remote key
was not OK, retries: 3
CDN: net-cfnxj01-repository-cocoapods.org URL couldn't be downloaded: https://nexus-******/repository/cocoapods.org/Specs/a/7/5/AFNetworking/1.1.1/AFNetworking.podspec.json Response: SSL peer certificate or SSH remote key
was not OK, retries: 2
CDN: net-cfnxj01-repository-cocoapods.org URL couldn't be downloaded: https://nexus-******/repository/cocoapods.org/Specs/a/7/5/AFNetworking/1.1.1/AFNetworking.podspec.json Response: SSL peer certificate or SSH remote key
was not OK, retries: 1
[!] CDN: net-cfnxj01-repository-cocoapods.org URL couldn't be downloaded: https://nexus-******/repository/cocoapods.org/Specs/a/7/5/AFNetworking/1.1.1/AFNetworking.podspec.json Response: SSL peer certificate or SSH remote key was not OK

We followed below steps:

  1. Creating a gemfile with cocoapod as gem -> gem 'cocoapods', '~>1.11.3'
  2. Installing the gem using command: bundle install
  3. Creating a pod file with source as nexus proxy repo.
  4. Installing pods using command: bundle exec pod install --verbose

Pods are installed successfully when using cocoapods v1.8.0 but getting ssl error when upgrading cocoapods version to v1.11.3.

Please find the details in podfile

_source 'https://nexus-*****/repository/cocoapods.org/'
platform :ios, "14.0"

use_frameworks!
inhibit_all_warnings!

target “hws” do
pod 'AFNetworking', '~> 2.6'
pod "ACPAnalytics", "2.2.3"
pod "ACPCore", "2.6.0"
pod "ACPUserProfile", "2.1.0"
end_

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

1 participant