Skip to content

Commit 220afc2

Browse files
committed
Add Package.swift and podspec
1 parent c208246 commit 220afc2

File tree

3 files changed

+57
-2
lines changed

3 files changed

+57
-2
lines changed

DeepOneSDK.podspec

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = "DeepOneSDK"
3+
spec.version = "1.0.1"
4+
spec.summary = "DeepOne SDK for iOS - Deep Linking and Attribution"
5+
spec.description = <<-DESC
6+
DeepOne SDK provides comprehensive deep linking and attribution
7+
capabilities for iOS applications. This framework includes link creation,
8+
attribution tracking, and seamless user experience management.
9+
DESC
10+
11+
spec.homepage = "https://github.com/deeponelabs/deepone-ios-sdk"
12+
spec.license = { :type => "MIT", :file => "LICENSE" }
13+
spec.author = { "DeepOneIO" => "[email protected]" }
14+
spec.source = { :git => "https://github.com/deeponelabs/deepone-ios-sdk.git", :tag => "#{spec.version}" }
15+
16+
# Public framework source files
17+
spec.source_files = "DeepOneSDK/**/*.{h,m,swift}"
18+
spec.public_header_files = "DeepOneSDK/**/*.h"
19+
20+
# Build settings
21+
spec.frameworks = "Foundation", "UIKit", "Security"
22+
spec.requires_arc = true
23+
spec.swift_version = "5.5"
24+
25+
# Module settings
26+
spec.module_name = "DeepOneSDK"
27+
end

Package.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version: 5.7
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: "DeepOneSDK",
8+
9+
products: [
10+
.library(
11+
name: "DeepOneSDK",
12+
targets: ["DeepOneSDK"]
13+
),
14+
],
15+
dependencies: [
16+
],
17+
targets: [
18+
.target(
19+
name: "DeepOneSDK",
20+
dependencies: ["DeepOneNetworking"],
21+
path: "DeepOneSDK",
22+
publicHeadersPath: ".",
23+
cSettings: [
24+
.headerSearchPath(".")
25+
]
26+
),
27+
]
28+
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Or add it to your `Package.swift`:
3434

3535
```swift
3636
dependencies: [
37-
.package(url: "https://github.com/DeepOneIO/DeepOneSDK.git", from: "1.1.9")
37+
.package(url: "https://github.com/DeepOneIO/DeepOneSDK.git", from: "1.0.1")
3838
]
3939
```
4040

@@ -43,7 +43,7 @@ dependencies: [
4343
Add this line to your `Podfile`:
4444

4545
```ruby
46-
pod 'DeepOneSDK', '~> 1.1.9'
46+
pod 'DeepOneSDK', '~> 1.0.1'
4747
```
4848

4949
Then run:

0 commit comments

Comments
 (0)