Skip to content

Commit

Permalink
ci: add first draft for SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
axi92 committed Aug 27, 2024
1 parent 65739c1 commit 574daa6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Swift Package Manager
.netrc
.swiftpm/configuration/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
/Packages
/.build
25 changes: 25 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "AbrevvaSDK",
platforms: [
.iOS(.v15)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "AbrevvaSDK",
targets: ["AbrevvaSDK"]),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.binaryTarget(
name: "AbrevvaSDK",
path: "AbrevvaSDK.xcframework"
)
]
)

0 comments on commit 574daa6

Please sign in to comment.