---
title: "Discussion on \"Using Swift packages with authentication in Xcode Cloud\" | Hashnode"
description: "Discussion on \"Using Swift packages with authentication in Xcode Cloud\". Learn how to create a custom build script (ci_post_clone.sh) ensuring that Swift packages with authentication can be resolved in Xcode Cloud with netrc"
url: "https://hashnode.com/posts/using-swift-packages-with-authentication-in-xcode-cloud/64a22c12a80f891eb801d27f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Swift packages with authentication in Xcode Cloud](https://blog.eidinger.info/using-swift-packages-with-authentication-in-xcode-cloud?utm_source=hashnode&utm_medium=feed)

Learn how to create a custom build script (ci\_post\_clone.sh) ensuring that Swift packages with authentication can be resolved in Xcode Cloud with netrc

Jul 3, 2023 · 2 min read · blog.eidinger.info  
Read the article

-   [#xcode](https://hashnode.com/tag/xcode)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#swift-package-manager](https://hashnode.com/tag/swift-package-manager)

## Written by

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

@MarcoEidinger

  
[View profile](https://hashnode.com/@MarcoEidinger)

#Swift #iOS SDK architect 🇺🇸 🇩🇪

I am a Software Engineer working on open source and enterprise mobile SDKs for iOS and MacOS developers written in Swift. From 🇩🇪 and happily living in 🇺🇸

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
