File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,34 @@ iOS SDK for Chatwoot
44
55
66
7+ ## 📦 Installation
78
9+ ### Option 1: Swift Package Manager (Recommended)
810
9- ## 📦 Installation
11+ You can integrate the Chatwoot iOS SDK using Swift Package Manager:
1012
11- In ` Package.swift ` :
13+ 1 . Open your Xcode project.
14+ 2 . Navigate to ` File > Add Packages... `
15+ 3 . Enter the following URL in the search field:
16+ ```
17+ https://github.com/chatwoot/agent-ios-sdk.git
18+ ```
19+ 4 . Select the version you want to use (e.g. from version ` 1.0.0 ` ) and click ** Add Package** .
1220
21+ Then, import the SDK in your code:
1322``` swift
14- . package ( url : " https://github.com/chatwoot/agent-ios-sdk.git " , from : " 1.0.0 " )
23+ import ChatwootSDK
1524```
1625
17- Import in your app:
26+ ### Option 2: Manual via ` Package.swift `
27+
28+ If you're managing dependencies directly with Swift Package Manager via ` Package.swift ` :
29+
30+ ``` swift
31+ .package (url : " https://github.com/chatwoot/agent-ios-sdk.git" , from : " 1.0.0" )
32+ ```
1833
34+ Then, import the SDK where needed:
1935``` swift
2036import ChatwootSDK
2137```
You can’t perform that action at this time.
0 commit comments