Skip to content

Commit 5a1869b

Browse files
committed
feat: add package.swift file
1 parent f619d31 commit 5a1869b

35 files changed

+36
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
### Features
10+
11+
- Add support for Swift Package Manager (SPM) compatibility. [RMET-4316](https://outsystemsrd.atlassian.net/browse/RMET-4316).
12+
713
## 2.1.0
814

915
### Features

OSInAppBrowserLib.xcodeproj/project.pbxproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@
202202
756346612C00F21000685AA3 /* OSIABEngine.swift */,
203203
7563465D2C00F21000685AA3 /* OSIABRouter.swift */,
204204
);
205-
path = OSInAppBrowserLib;
205+
name = OSInAppBrowserLib;
206+
path = Sources/OSInAppBrowserLib;
206207
sourceTree = "<group>";
207208
};
208209
7575CF6D2BFCEE6F008F3FD0 /* OSInAppBrowserLibTests */ = {
@@ -215,7 +216,8 @@
215216
75094A042C1213A3006843E1 /* OSIABWebViewRouterAdapterTests.swift */,
216217
75EF1AFA2C13069E005D7164 /* OSIABViewModelTests.swift */,
217218
);
218-
path = OSInAppBrowserLibTests;
219+
name = OSInAppBrowserLibTests;
220+
path = Tests/OSInAppBrowserLibTests;
219221
sourceTree = "<group>";
220222
};
221223
7575CF7E2BFCEEEA008F3FD0 /* Helper Files */ = {

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.7
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "OSInAppBrowserLib",
6+
platforms: [
7+
.iOS(.v13)
8+
],
9+
products: [
10+
.library(
11+
name: "OSInAppBrowserLib",
12+
targets: ["OSInAppBrowserLib"]
13+
),
14+
],
15+
targets: [
16+
.target(
17+
name: "OSInAppBrowserLib",
18+
path: "Sources/OSInAppBrowserLib"
19+
),
20+
.testTarget(
21+
name: "OSInAppBrowserLibTests",
22+
dependencies: ["OSInAppBrowserLib"],
23+
path: "Tests/OSInAppBrowserLibTests"
24+
),
25+
]
26+
)

OSInAppBrowserLib/Models/OSIABAnimationEffect.swift renamed to Sources/OSInAppBrowserLib/Models/OSIABAnimationEffect.swift

File renamed without changes.
File renamed without changes.

OSInAppBrowserLib/Models/OSIABToolbarPosition.swift renamed to Sources/OSInAppBrowserLib/Models/OSIABToolbarPosition.swift

File renamed without changes.
File renamed without changes.

OSInAppBrowserLib/Models/OSIABWebViewConfigurationModel.swift renamed to Sources/OSInAppBrowserLib/Models/OSIABWebViewConfigurationModel.swift

File renamed without changes.

OSInAppBrowserLib/Models/OSIABWebViewUIModel.swift renamed to Sources/OSInAppBrowserLib/Models/OSIABWebViewUIModel.swift

File renamed without changes.

OSInAppBrowserLib/Models/Options/OSIABOptions.swift renamed to Sources/OSInAppBrowserLib/Models/Options/OSIABOptions.swift

File renamed without changes.

0 commit comments

Comments
 (0)