Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
archiveVersion = 1;
classes = {
};
objectVersion = 55;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
18746D7B27F5DD45002A5CBD /* VerloopSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18746D7A27F5DCC0002A5CBD /* VerloopSDK.framework */; };
18746D7C27F5DD45002A5CBD /* VerloopSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 18746D7A27F5DCC0002A5CBD /* VerloopSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
05FF1A5B2F88FA6D00B25649 /* VerloopSDKiOS in Frameworks */ = {isa = PBXBuildFile; productRef = 05FF1A5A2F88FA6D00B25649 /* VerloopSDKiOS */; };
18C7298828166C81006EF202 /* VerifyVerloopTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18C7298728166C81006EF202 /* VerifyVerloopTests.swift */; };
18F86EB427F14AE900F3BF25 /* ReferenceModels.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18F86EB127F14AE900F3BF25 /* ReferenceModels.swift */; };
18F86EB527F14AE900F3BF25 /* VerloopTestTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18F86EB327F14AE900F3BF25 /* VerloopTestTableViewController.swift */; };
Expand Down Expand Up @@ -50,7 +49,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
18746D7C27F5DD45002A5CBD /* VerloopSDK.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -85,7 +83,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
18746D7B27F5DD45002A5CBD /* VerloopSDK.framework in Frameworks */,
05FF1A5B2F88FA6D00B25649 /* VerloopSDKiOS in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -219,6 +217,9 @@
Base,
);
mainGroup = F7D13E7F27A3B81F00262E51;
packageReferences = (
05FF1A582F88F9EE00B25649 /* XCLocalSwiftPackageReference "../../../ios-sdk" */,
);
productRefGroup = F7D13E8927A3B81F00262E51 /* Products */;
projectDirPath = "";
projectReferences = (
Expand Down Expand Up @@ -597,6 +598,21 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCLocalSwiftPackageReference section */
05FF1A582F88F9EE00B25649 /* XCLocalSwiftPackageReference "../../../ios-sdk" */ = {
isa = XCLocalSwiftPackageReference;
relativePath = "../../../ios-sdk";
};
/* End XCLocalSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
05FF1A5A2F88FA6D00B25649 /* VerloopSDKiOS */ = {
isa = XCSwiftPackageProductDependency;
package = 05FF1A582F88F9EE00B25649 /* XCLocalSwiftPackageReference "../../../ios-sdk" */;
productName = VerloopSDKiOS;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = F7D13E8027A3B81F00262E51 /* Project object */;
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,66 @@
"scale" : "1x",
"size" : "1024x1024"
},
{
"filename" : "16.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"filename" : "32.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"filename" : "32.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"filename" : "64.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"filename" : "128.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"filename" : "256.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"filename" : "256.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"filename" : "512.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "256x256"
},
{
"filename" : "512.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
},
{
"filename" : "1024.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
},
{
"filename" : "48.png",
"idiom" : "watch",
Expand Down Expand Up @@ -225,6 +285,13 @@
"size" : "51x51",
"subtype" : "45mm"
},
{
"idiom" : "watch",
"role" : "appLauncher",
"scale" : "2x",
"size" : "54x54",
"subtype" : "49mm"
},
{
"filename" : "172.png",
"idiom" : "watch",
Expand Down Expand Up @@ -257,70 +324,17 @@
"subtype" : "45mm"
},
{
"filename" : "1024.png",
"idiom" : "watch-marketing",
"scale" : "1x",
"size" : "1024x1024"
},
{
"filename" : "16.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "16x16"
},
{
"filename" : "32.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "16x16"
},
{
"filename" : "32.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "32x32"
},
{
"filename" : "64.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "32x32"
},
{
"filename" : "128.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "128x128"
},
{
"filename" : "256.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "128x128"
},
{
"filename" : "256.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "256x256"
},
{
"filename" : "512.png",
"idiom" : "mac",
"idiom" : "watch",
"role" : "quickLook",
"scale" : "2x",
"size" : "256x256"
},
{
"filename" : "512.png",
"idiom" : "mac",
"scale" : "1x",
"size" : "512x512"
"size" : "129x129",
"subtype" : "49mm"
},
{
"filename" : "1024.png",
"idiom" : "mac",
"scale" : "2x",
"size" : "512x512"
"idiom" : "watch-marketing",
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
//

import Foundation
import VerloopSDK
import VerloopSDKiOS
import UIKit

//enum with different categories to be handled
enum RowType:String {
Expand Down
20 changes: 6 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
// swift-tools-version:5.7
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "VerloopSDKiOS",
platforms: [
.iOS(.v11)
.iOS(.v12)
],
products: [
.library(
name: "VerloopSDKiOS",
targets: ["VerloopSDKiOS"]
)
],
dependencies: [],
targets: [
.target(
name: "VerloopSDKiOS",
path: "VerloopSDK",
publicHeadersPath: ".",
resources: [
.process("Info.plist"),
.process("PrivacyInfo.xcprivacy")
],
swiftSettings: [
.define("SWIFT_PACKAGE")
]
dependencies: [],
path: "Sources/VerloopSDK",
publicHeadersPath: "."
)
],
swiftLanguageVersions: [.v5]
]
)
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,29 @@ This framework helps you configure and launch Verloop's chat. Inorder to integra
- XCode 13.1+
- Min IOS version support IOS10

## **Installation**
## Install Verloop iOS SDK via Swift Package Manager

Two ways to install
### 1. Add the Package

- CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Verloop into your Xcode project using CocoaPods, add the following line in your Podfile:
```
pod 'VerloopSDKiOS'
```

- Manually build the repo and generate the VerloopSDK framework and embed the framework in Linked Binaries in your project as shown below.
<p align="center">
<img width="700" alt="Screenshot 2022-03-15 at 3 08 56 PM" src="https://user-images.githubusercontent.com/98142458/158394191-f40ef1b5-89eb-41cb-8110-dfcd54b700be.png">
</p>
1. Open your project in **Xcode**
2. Go to **Project → Package Dependencies → +**
3. Enter the repository URL: https://github.com/verloop/ios-sdk.git
4. Choose **Dependency Rule → Exact Version**
5. Enter the version: example: 0.2.21-rc.3
6. Click **Add Package**
<img width="1089" height="608" alt="Screenshot 2026-04-10 at 17 45 24" src="https://github.com/user-attachments/assets/1c9261bb-51da-4b50-84e4-5696a622629e" />


### 2. Add Package to Your Target

1. Select your **App Target**
2. Go to **General → Frameworks, Libraries & Embedded Content**
3. Click **+**
4. Search and add: VerloopSDKiOS
<img width="1009" height="427" alt="Screenshot 2026-04-10 at 17 45 41" src="https://github.com/user-attachments/assets/7f119c1a-c468-4c71-b201-1e232f02b07a" />


---

## **Change Log**

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading