Skip to content

Commit 42eb2c5

Browse files
Merge pull request #3 from SimformSolutionsPvtLtd/feature/UNT-T10957_SPM_SwiftUI_Support
UNT-T10957 - Added SPM
2 parents f976af3 + c570f65 commit 42eb2c5

14 files changed

+40
-1
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// swift-tools-version: 5.6
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "SSCustomSideMenu",
8+
platforms: [.iOS(.v13)],
9+
products: [
10+
// Products define the executables and libraries a package produces, and make them visible to other packages.
11+
.library(
12+
name: "SSCustomSideMenu",
13+
targets: ["SSCustomSideMenu"]),
14+
],
15+
dependencies: [
16+
// Dependencies declare other packages that this package depends on.
17+
// .package(url: /* package url */, from: "1.0.0"),
18+
],
19+
targets: [
20+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
21+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
22+
.target(
23+
name: "SSCustomSideMenu",
24+
dependencies: [])
25+
]
26+
)

SSCustomSideMenu.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Pod::Spec.new do |s|
3131
s.ios.deployment_target = '11.0'
3232
s.swift_versions = '5.0'
3333

34-
s.source_files = 'SSCustomSideMenu/Classes/**/*'
34+
s.source_files = 'Sources/SSCustomSideMenu/Classes/**/*'
3535

3636
# s.resource_bundles = {
3737
# 'SSCustomSideMenu' => ['SSCustomSideMenu/Assets/*.png']

0 commit comments

Comments
 (0)