Carthage: How can I provide a user name and password to the binary only frameworks host?

Created on 2 Jun 2017  路  2Comments  路  Source: Carthage/Carthage

Let's assume I have a private artefact repository. It requires an authentication in order to access stored files. How do I pass this authentication through carthage?

question

Most helpful comment

Looks like if you have a credential in your keychain URLSession will look up that: https://developer.apple.com/documentation/foundation/urlsession

By looking up Internet passwords and certificates in the user鈥檚 keychain (in macOS) or the app鈥檚 keychain (in iOS)

All 2 comments

Only way right now would be to put it in the URL. https://username:[email protected]/

Looks like if you have a credential in your keychain URLSession will look up that: https://developer.apple.com/documentation/foundation/urlsession

By looking up Internet passwords and certificates in the user鈥檚 keychain (in macOS) or the app鈥檚 keychain (in iOS)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

willhains picture willhains  路  3Comments

abbeyjackson picture abbeyjackson  路  3Comments

mdiep picture mdiep  路  3Comments

itinance picture itinance  路  3Comments

3lvis picture 3lvis  路  3Comments