{"id":31658409,"url":"https://github.com/couchbase/couchbase-lite-swift-ee","last_synced_at":"2026-06-11T08:31:24.716Z","repository":{"id":43175922,"uuid":"301882293","full_name":"couchbase/couchbase-lite-swift-ee","owner":"couchbase","description":"Hosting Swift Package for CouchbaseLiteSwift Enterprise Edition","archived":false,"fork":false,"pushed_at":"2026-05-22T17:03:38.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-05-22T20:48:18.195Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/couchbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-10-06T23:52:08.000Z","updated_at":"2026-05-22T16:44:04.000Z","dependencies_parsed_at":"2023-11-22T19:26:58.681Z","dependency_job_id":"f72a9585-1148-463b-b9ea-755aac3c0725","html_url":"https://github.com/couchbase/couchbase-lite-swift-ee","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/couchbase/couchbase-lite-swift-ee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-swift-ee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-swift-ee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-swift-ee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-swift-ee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couchbase","download_url":"https://codeload.github.com/couchbase/couchbase-lite-swift-ee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fcouchbase-lite-swift-ee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34190583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-07T15:21:56.878Z","updated_at":"2026-06-11T08:31:24.710Z","avatar_url":"https://github.com/couchbase.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CouchbaseLiteSwift-EE\n\nRepository for hosting Swift package for Couchbase Lite Swift Enterprise Edition\n\n## Case 1. Including Couchbase Lite to an existing swift package\nAdding CouchbaseLiteSwift dependency to your Parent swift package.\n\n1. Add the CouchbaseLiteSwift package as dependency: \n```\ndependencies: [\n        .package(name: \"CouchbaseLiteSwift\",\n                 url: \"https://github.com/couchbase/couchbase-lite-swift-ee.git\", \n                 from: \"4.0.1\"),\n    ],\n```\n\n2. Add the dependent package product name, to the target: \n```\ntargets: [\n     .target(name: \"ParentPackage\",\n             dependencies: [\"CouchbaseLiteSwift\"]),\n    ]\n\n```\n3. Import CouchbaseLiteSwift, and use it: \n```\nimport CouchbaseLiteSwift \n\nclass ParentPackageSomeClass {\n    func someFunction() {\n        let db = try! Database(name: \"testdb\")\n        print(\"\u003e\u003e opening the db: \\(db.name)\")\n    }\n}\n\n```\n\n### Sample Manifest file \n```\n// swift-tools-version:5.8\n\nimport PackageDescription\n\nlet package = Package(\n    name: \"ParentPackage\",\n    products: [\n        .library(\n            name: \"ParentPackage\",\n            targets: [\"ParentPackage\"]),\n    ],\n    dependencies: [\n        .package(name: \"CouchbaseLiteSwift\",\n                 url: \"https://github.com/couchbase/couchbase-lite-swift-ee.git\",\n                 from: \"4.0.1\"),\n    ],\n    targets: [\n        .target(\n            name: \"ParentPackage\",\n            dependencies: [\"CouchbaseLiteSwift\"]),\n        .testTarget(\n            name: \"ParentPackageTests\",\n            dependencies: [\"ParentPackage\"]),\n    ]\n)\n```\n\n## Case 2.  Including Couchbase Lite directly to your app project\n\nAdd CouchbaseLiteSwift to your HostApp\n\n1. Project to which you are going to add the CouchbaseLiteSwift\n\u003cimg width=\"1376\" alt=\"1\" src=\"https://user-images.githubusercontent.com/10448770/95389576-e2f27300-08a8-11eb-9aed-8946199f07d0.png\"\u003e\n\n2. Click on the add package dependency button, (Xcode Project File \u003e Project Settings \u003e Swift Packages \u003e Add Package Dependency)\n\u003cimg width=\"1377\" alt=\"2\" src=\"https://user-images.githubusercontent.com/10448770/95389583-e4bc3680-08a8-11eb-9a1a-77385fa27ca6.png\"\u003e\n\n3. Enter the URL, `https://github.com/couchbase/couchbase-lite-swift-ee.git`\n\u003cimg width=\"1377\" alt=\"3\" src=\"https://user-images.githubusercontent.com/10448770/95389586-e5ed6380-08a8-11eb-86f3-0b999876e05a.png\"\u003e\n\n4. Specify the version\n\u003cimg width=\"1377\" alt=\"4\" src=\"https://user-images.githubusercontent.com/10448770/95389591-e7b72700-08a8-11eb-997c-fc4ee8a5bb93.png\"\u003e\n\n5. Finish\n\u003cimg width=\"1374\" alt=\"5\" src=\"https://user-images.githubusercontent.com/10448770/95389598-e980ea80-08a8-11eb-84e7-1241149cdeac.png\"\u003e\n\n6. You will see the name, version and URL of the added CouchbaseLiteSwift Package\n\u003cimg width=\"1375\" alt=\"6\" src=\"https://user-images.githubusercontent.com/10448770/95389601-eb4aae00-08a8-11eb-90a1-d7b2d76c5d00.png\"\u003e\n\n7. Import CouchbaseLiteSwift, and use it. \n\u003cimg width=\"1376\" alt=\"7\" src=\"https://user-images.githubusercontent.com/10448770/95389606-ec7bdb00-08a8-11eb-8907-6b6651ac5526.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fcouchbase-lite-swift-ee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouchbase%2Fcouchbase-lite-swift-ee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fcouchbase-lite-swift-ee/lists"}