-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 Podspec Source HTTP Authentication Support #5055
Comments
CocoaPods' Downloader is using CURL for downloading files under the hood. If you want to use HTTP, you can setup your authentication credentials in the |
Thank you for your reply. Unfortunately, I receive a 403 event if I have set my credentials in ~/.netrc I have used the following command
And it produces the following error:
However if I run the above curl command by also adding the -n option (--netrc) it works. The version of Cocoapods that I'm using is 0.39.0 |
Whoops! It doesn't seem like the downloader actually passed the option |
As a workaround for now, you might want to create a |
I have ended up creating a separate Git repository and I use as source_url the git repository where I host the .framework and the html documentation as resources. |
Hello! Is there any way to make cocoapods available to ask for credentials in the installation process, without using the .netrc-file? |
I am looking into setting up a private repo that allows distributing binary
.framework
files (so no source code) via Cocoapods.The actual repo will be hosted on a Git server, just like the Cocoapods page suggests and the actual
.framework
files will be hosted on a different server that would allow accessing the.framework
files via HTTPs.Let's say I add this in the .podspec file:
From reading the documentation it's not clear to me what kind of authentication does Cocoapods support for referencing the
.framework
file via HTTPs.I had a look at both
http://guides.cocoapods.org/making/private-cocoapods.html
https://guides.cocoapods.org/syntax/podspec.html#source
P.S. - I know this is not an Issue but I have already posted on Stackoverflow and also in the Google Groups Forum and I didn't receive a response.
I am just trying to find an answer to this as soon as possible. Sorry if this upsets anyone.
The text was updated successfully, but these errors were encountered: