{"id":28604038,"url":"https://github.com/uber/swift-common","last_synced_at":"2025-08-11T18:24:30.115Z","repository":{"id":49224588,"uuid":"173215098","full_name":"uber/swift-common","owner":"uber","description":"Common code used by various Uber open source projects","archived":false,"fork":false,"pushed_at":"2020-11-07T00:34:34.000Z","size":55,"stargazers_count":67,"open_issues_count":3,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-11T18:06:42.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-01T01:37:01.000Z","updated_at":"2025-03-30T13:10:50.000Z","dependencies_parsed_at":"2022-09-17T23:12:53.649Z","dependency_job_id":null,"html_url":"https://github.com/uber/swift-common","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/uber/swift-common","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fswift-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fswift-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fswift-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fswift-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber","download_url":"https://codeload.github.com/uber/swift-common/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fswift-common/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264677448,"owners_count":23648125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-11T17:40:12.204Z","updated_at":"2025-07-10T22:33:15.213Z","avatar_url":"https://github.com/uber.png","language":"Swift","readme":"# Swift Common\n\n[![Build Status](https://travis-ci.com/uber/swift-common.svg?branch=master)](https://travis-ci.com/uber/swift-common?branch=master)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n## Requirements\n\n- Xcode 9.3+\n- Swift 4.0+\n\n## Overview\n\nSwift-Common contains reusable modules shared among a number of Uber's Swift open source projects, such as [Needle](https://github.com/uber/needle), [Swift Abstract Class](https://github.com/uber/swift-abstract-class) and etc. This code is not specifically designed for external consumption beyond Uber's open source projects. However, it is certainly possible for other projects to depend on these libraries.\n\n### SourceParsingFramework\n\nThis framework contains common code used for filtering and parsing Swift source code.\n\n### CommandFramework\n\nThis framework contains common code for parsing command line arguments.\n\n## Installation\n\nSince Uber's Swift open source projects use [Swift Package Manager](https://github.com/apple/swift-package-manager) this project only supports installation via SPM. Please refer to the standard SPM package setup for details.\n\n## Building\n\nFirst fetch the dependencies:\n\n```bash\n$ swift package resolve\n```\n\nYou can then build from the command-line:\n\n```bash\n$ swift build\n```\n\nOr create an Xcode project and build using the IDE:\n\n```bash\n$ swift package generate-xcodeproj\n```\n\n## Testing\n\nFrom command-line.\n\n```bash\n$ swift test\n```\n\nOr you can follow the steps above to generate a Xcode project and run tests within Xcode.\n\n## Related projects\n\nIf you like Swift Common, check out other related open source projects from our team:\n- [Needle](https://github.com/uber/needle): a compile-time safe Swift dependency injection framework.\n- [Swift Abstract Class](https://github.com/uber/swift-abstract-class): a light-weight library along with an executable that enables compile-time safe abstract class development for Swift projects.\n- [Swift Concurrency](https://github.com/uber/swift-concurrency): a set of concurrency utility classes used by Uber, inspired by the equivalent [java.util.concurrent](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/package-summary.html) package classes.\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fuber%2Fswift-concurrency.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fuber%2Fswift-concurrency?ref=badge_large)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fswift-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber%2Fswift-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fswift-common/lists"}