Skip to content

Commit

Permalink
feat: added to Swift Package Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunak-jagtap committed Jan 10, 2023
1 parent 4478c81 commit 0881f9c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "DyteiOSCore",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "DyteiOSCore",
targets: ["DyteiOSCore"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.binaryTarget(
name: "DyteiOSCore",
url: "https://github.com/dyte-in/DyteMobileCoreiOS/archive/refs/tags/0.0.3.zip",
checksum: "dd779c0ca84e41f6f416ff9f722d005b8f9c255490ef8f939c70dff87bf954a2"
)
]
)

0 comments on commit 0881f9c

Please sign in to comment.