A private registry for Swift packages that ensures build reproducibility, speeds up dependency resolution by 10x, and reduces bandwidth usage by up to 90% for both open-source and private packages.
import PackageDescription let package = Package( name: "MyApp", dependencies: [ .package( id: "company.analytics", from: "1.2.0" ), .package( id: "company.networking", from: "2.0.0" ) ] )
SwiftHive provides a reliable foundation for managing both open-source and private Swift packages, ensuring consistent builds and faster development cycles.
Unlike Git repositories where tags can be changed, versions in SwiftHive are immutable once published, guaranteeing reproducible builds across your team and CI systems.
Skip lengthy Git repository clones. SwiftHive creates optimized archives that dramatically reduce download size and resolution time, even for large packages over 1GB.
Easily audit all packages used in your projects. SwiftHive provides transparency and control over every package version in your registry.
Optimized archive format reduces package sizes by up to 90% compared to Git repositories, saving bandwidth and speeding up your CI/CD pipelines.
Significantly reduce dependency resolution time, allowing your developers and CI systems to build projects faster and more efficiently.
Centralize your package management with role-based access controls. Ensure consistent package usage across all your projects and teams.
See how SwiftHive improves your Swift package management compared to traditional Git-based approaches
Feature | Git-Based Packages | SwiftHive Registry |
---|---|---|
Version Immutability | Tags can be changed or deleted | Versions are permanent once published |
Repository Size | Full Git history (can exceed 1GB) | Optimized archives (up to 90% smaller) |
Build Reproducibility | Not guaranteed if tags are modified | Guaranteed across all environments |
Resolution Speed | Slow (clones entire repositories) | Fast (downloads optimized archives) |
Security Auditing | Difficult with changing references | Easy with immutable package versions |
Fully managed solution with minimal setup
Self-hosted within your infrastructure
Contact our team for a personalized consultation to determine the best deployment model for your organization's needs.
Contact SalesPublish your Swift packages to your private SwiftHive registry. Packages are stored as archives, significantly reducing their size compared to Git repositories.
$ swift package-registry publish Optimizing package (removing Git history, tests)... Compressing (90% size reduction achieved)... Package mycompany.lib 1.0.0 published successfully!
// swift-tools-version: 6.0 import PackageDescription let package = Package( name: "MyProject", dependencies: [ .package( id: "mycompany.lib", from: "1.0.0" ) ] )
Reference your private packages with standard SPM syntax. Once a version is published, it becomes immutable, ensuring consistent builds across all environments.
Swift Package Manager resolves and downloads optimized package archives from your registry instead of cloning entire Git repositories, dramatically improving speed.
$ swift build Resolving dependencies... Fetching mycompany.lib from registry (2MB vs 350MB Git repo)... Download complete in 0.8s (was 15.2s with Git)... Building dependencies...
swifthivecli login --registry-url https://your-swifthive-instance.swifthive.dev
This will prompt you for your SwiftHive Registry credentials.
swift package-registry set https://your-swifthive-instance.swifthive.dev
// In your Package.swift
dependencies: [
.package(id: "mycompany.packagename", from: "1.0.0")
]
Swift Package Manager will automatically use your configured registry to download packages.
Get early access to SwiftHive and help shape the future of Swift package management.
We'll review your application and be in touch soon.