Skip to content

Commit be8b4b2

Browse files
Merge pull request #27 from SimformSolutionsPvtLtd/feature/add_spm_support
Add: SPM Support
2 parents e5ec9ff + ba01d4c commit be8b4b2

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

Package.swift

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
//
2+
// Package.swift
3+
// SSSwiftUIAnimations
4+
//
5+
// Created by Rahul Yadav on 11/11/24.
6+
//
7+
8+
// swift-tools-version: 6.0
9+
import PackageDescription
10+
11+
let package = Package(
12+
name: "SSSwiftUIAnimations",
13+
platforms: [
14+
.iOS(.v15) // Specify minimum platform versions
15+
],
16+
products: [
17+
// Products define the executables and libraries a package produces and makes available to clients.
18+
.library(
19+
name: "SSSwiftUIAnimations",
20+
targets: ["SSSwiftUIAnimations"]),
21+
],
22+
dependencies: [
23+
// Dependencies declare other packages that this package depends on.
24+
],
25+
targets: [
26+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
27+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
28+
.target(
29+
name: "SSSwiftUIAnimations",
30+
dependencies: [],
31+
path: "SSSwiftUIAnimations"
32+
)
33+
]
34+
)

SSSwiftUIAnimations.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
2BC2D8F928CF3A7000CAB302 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
5252
4636F36D291E1BD600C8DB5B /* LeftArrow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LeftArrow.swift; sourceTree = "<group>"; };
5353
469963A4290FCE3600DC01AD /* SSLRArrowView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSLRArrowView.swift; sourceTree = "<group>"; };
54+
8F9765232CE20D5000034CF7 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
5455
8FE1727A2CAA8BF100F8AB45 /* ViewExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewExtension.swift; sourceTree = "<group>"; };
5556
B10677FD2BE8D0D400957B4E /* DownArrow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DownArrow.swift; sourceTree = "<group>"; };
5657
B1098E7C2BD94ED900BC19DD /* WaveView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaveView.swift; sourceTree = "<group>"; };
@@ -95,6 +96,7 @@
9596
2BC2D8E628CF3A6F00CAB302 = {
9697
isa = PBXGroup;
9798
children = (
99+
8F9765232CE20D5000034CF7 /* Package.swift */,
98100
2BC2D8F128CF3A6F00CAB302 /* SSSwiftUIAnimations */,
99101
2BC2D8F028CF3A6F00CAB302 /* Products */,
100102
);

0 commit comments

Comments
 (0)