question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CocoaPods does not handle proxy configuration

See original GitHub issue

Note

Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo

For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks

If you have an issue or request for the Azure Pipelines service, use developer community instead:

https://developercommunity.visualstudio.com/spaces/21/index.html )

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Feature

Enter Task Name: CocoaPods

Environment

  • Server - Azure Pipelines or TFS on-premises? Azure Pipelines

    • If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
  • Agent - Hosted or Private: Private

    • If using private agent, provide the OS of the machine running the agent and the agent version: OSX 10.14.4

Issue Description

Agent is configured to run behind a proxy but the Cocoapods task is not proxy aware

Task logs

Starting: Install Cocoa Pods
==============================================================================
Task         : CocoaPods
Description  : Install CocoaPods dependencies for Swift and Objective-C Cocoa projects
Version      : 0.151.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/cocoapods
==============================================================================
(node:32007) Warning: Use Cipheriv for counter mode of aes-256-ctr
/usr/local/bin/pod --version
1.8.4
/usr/local/bin/pod install
Analyzing dependencies
[!] Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`: Failed to open TCP connection to cdn.cocoapods.org:443 (No route to host - connect(2) for "cdn.cocoapods.org" port 443)

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
##[error]The process '/usr/local/bin/pod' failed with exit code 1
##[error]The 'pod' command failed with error: The process '/usr/local/bin/pod' failed with exit code 1
Finishing: Install Cocoa Pods

Troubleshooting

Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
anatolybolshakovcommented, Apr 1, 2022

Hi @Tarig0 @jerobarraco we are working on more prioritized issues at the moment, but going to get back to this one once be able to.

0reactions
jerobarracocommented, Sep 13, 2022

Thanks @kirill-ivlev That’s good news 😃 Sorry but i’m not working on that project (or company) anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pod install, proxy issue - Stack Overflow
It is possible, that your system proxy settings do not apply to the bash. Type this into bash before running pod install :...
Read more >
ProxyResolver on CocoaPods.org
ProxyResolver allows simply resolve the actual proxy information from users system configuration and could be used for setting up Stream-based connections, ...
Read more >
CocoaPods Repositories - Sonatype Help
To proxy a CocoaPods repository, you simply create a new CocoaPods (proxy) as documented in Repository Management. Minimal configuration steps are: Define Name ......
Read more >
CocoaPods proxy config
Step 1: From Google choose a proxy. Step 2: Set up the proxy to your Mac. Step 3: In your terminal set proxy...
Read more >
Pod level external HTTP(S) proxy configuration with Istio
This is often frustrating for employees, even non-IT ones, when they can't access a specific site from the company network. For engineers it's ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found