Skip to content

Commit dc2d3e3

Browse files
authored
Merge pull request #1 from zsw666/main
10.9.11
2 parents e1421fb + 664df8c commit dc2d3e3

13 files changed

Lines changed: 249 additions & 1 deletion

File tree

Package.swift

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
// swift-tools-version:5.7
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
// Copyright (c) 2022 NetEase, Inc. All rights reserved.
5+
// Use of this source code is governed by a MIT license that can be
6+
// found in the LICENSE file.
7+
8+
import PackageDescription
9+
10+
func remoteBinary(_ name: String, url: String, checksum: String) -> Target {
11+
.binaryTarget(
12+
name: name,
13+
url: url,
14+
checksum: checksum
15+
)
16+
}
17+
18+
let package = Package(
19+
name: "NIMUIKit",
20+
platforms: [
21+
.iOS(.v13),
22+
],
23+
products: [
24+
.library(name: "NECoreKit", targets: ["NECoreKit", "NECoreKit_Deps"]),
25+
.library(name: "NECommonKit", targets: ["NECommonKit"]),
26+
.library(name: "NECoreIM2Kit", targets: ["NECoreIM2Kit", "NECoreIM2Kit_Deps"]),
27+
.library(name: "NECommonUIKit", targets: ["NECommonUIKit", "NECommonUIKit_Deps"]),
28+
.library(name: "NEChatKit", targets: ["NEChatKit", "NEChatKit_Deps"]),
29+
.library(name: "NEChatUIKit", targets: ["NEChatUIKit", "NEChatUIKit_Deps"]),
30+
.library(name: "NEContactUIKit", targets: ["NEContactUIKit", "NEContactUIKit_Deps"]),
31+
.library(name: "NEConversationUIKit", targets: ["NEConversationUIKit", "NEConversationUIKit_Deps"]),
32+
.library(name: "NELocalConversationUIKit", targets: ["NELocalConversationUIKit", "NELocalConversationUIKit_Deps"]),
33+
.library(name: "NETeamUIKit", targets: ["NETeamUIKit", "NETeamUIKit_Deps"]),
34+
.library(name: "NEMapKit", targets: ["NEMapKit", "NEMapKit_Deps"]),
35+
.library(name: "NEAISearchKit", targets: ["NEAISearchKit", "NEAISearchKit_Deps"]),
36+
],
37+
dependencies: [
38+
.package(url: "https://github.com/netease-im/nimsdk-spm.git", from: "10.9.0"),
39+
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.0.0"),
40+
.package(url: "https://github.com/CoderMJLee/MJRefresh.git", from: "3.7.5"),
41+
.package(url: "https://github.com/SDWebImage/SDWebImageWebPCoder.git", from: "0.8.0"),
42+
.package(url: "https://github.com/SDWebImage/SDWebImageSVGKitPlugin.git", from: "1.3.0"),
43+
],
44+
targets: [
45+
// ============ Dependency Wrapper Targets ============
46+
.target(
47+
name: "NECoreKit_Deps",
48+
dependencies: [
49+
"YXAlog_iOS",
50+
],
51+
path: "Sources/NECoreKit_Deps"
52+
),
53+
.target(
54+
name: "NECoreIM2Kit_Deps",
55+
dependencies: [
56+
.product(name: "NIMSDK", package: "nimsdk-spm"),
57+
],
58+
path: "Sources/NECoreIM2Kit_Deps"
59+
),
60+
.target(
61+
name: "NECommonUIKit_Deps",
62+
dependencies: [
63+
.product(name: "SDWebImage", package: "SDWebImage"),
64+
],
65+
path: "Sources/NECommonUIKit_Deps"
66+
),
67+
.target(
68+
name: "NEChatKit_Deps",
69+
dependencies: [
70+
.product(name: "NIMSDK", package: "nimsdk-spm"),
71+
],
72+
path: "Sources/NEChatKit_Deps"
73+
),
74+
.target(
75+
name: "NEChatUIKit_Deps",
76+
dependencies: [
77+
.product(name: "MJRefresh", package: "MJRefresh"),
78+
.product(name: "SDWebImage", package: "SDWebImage"),
79+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
80+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
81+
],
82+
path: "Sources/NEChatUIKit_Deps"
83+
),
84+
.target(
85+
name: "NEContactUIKit_Deps",
86+
dependencies: [
87+
.product(name: "MJRefresh", package: "MJRefresh"),
88+
.product(name: "SDWebImage", package: "SDWebImage"),
89+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
90+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
91+
],
92+
path: "Sources/NEContactUIKit_Deps"
93+
),
94+
.target(
95+
name: "NEConversationUIKit_Deps",
96+
dependencies: [
97+
.product(name: "MJRefresh", package: "MJRefresh"),
98+
.product(name: "SDWebImage", package: "SDWebImage"),
99+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
100+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
101+
],
102+
path: "Sources/NEConversationUIKit_Deps"
103+
),
104+
.target(
105+
name: "NELocalConversationUIKit_Deps",
106+
dependencies: [
107+
.product(name: "MJRefresh", package: "MJRefresh"),
108+
.product(name: "SDWebImage", package: "SDWebImage"),
109+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
110+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
111+
],
112+
path: "Sources/NELocalConversationUIKit_Deps"
113+
),
114+
.target(
115+
name: "NETeamUIKit_Deps",
116+
dependencies: [
117+
.product(name: "MJRefresh", package: "MJRefresh"),
118+
.product(name: "SDWebImage", package: "SDWebImage"),
119+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
120+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
121+
],
122+
path: "Sources/NETeamUIKit_Deps"
123+
),
124+
.target(
125+
name: "NEMapKit_Deps",
126+
dependencies: [
127+
.product(name: "SDWebImage", package: "SDWebImage"),
128+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
129+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
130+
],
131+
path: "Sources/NEMapKit_Deps"
132+
),
133+
.target(
134+
name: "NEAISearchKit_Deps",
135+
dependencies: [
136+
.product(name: "MJRefresh", package: "MJRefresh"),
137+
.product(name: "SDWebImage", package: "SDWebImage"),
138+
.product(name: "SDWebImageWebPCoder", package: "SDWebImageWebPCoder"),
139+
.product(name: "SDWebImageSVGKitPlugin", package: "SDWebImageSVGKitPlugin"),
140+
],
141+
path: "Sources/NEAISearchKit_Deps"
142+
),
143+
144+
// ============ Binary Targets ============
145+
remoteBinary("YXAlog_iOS",
146+
url: "https://yx-web-nosdn.netease.im/package/1759136924916/YXAlog_iOS.xcframework.zip?download=YXAlog_iOS.xcframework.zip",
147+
checksum: "e4ce7f4bbaf751497ef69dd5d890a913b103ad2b7b8616e270c8a09ce86dfc30"
148+
),
149+
remoteBinary("NECoreKit",
150+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/9.8.2/1773384514/NECoreKit_iOS_v9.8.2.framework.zip?download=NECoreKit_iOS_v9.8.2.framework.zip",
151+
checksum: "fabe6010db44ced36ab7e22d62ade8ff5c05d0ef7a61cfe1ba9c068be84b0164"
152+
),
153+
remoteBinary("NECommonKit",
154+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/9.7.7/1773373567/NECommonKit_iOS_v9.7.7.framework.zip?download=NECommonKit_iOS_v9.7.7.framework.zip",
155+
checksum: "e2c60149865c194a44516deac2a014c1a50190ab83e41745b09fbac0c0ec9ff3"
156+
),
157+
remoteBinary("NECoreIM2Kit",
158+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/1.1.8/1773373622/NECoreIM2Kit_iOS_v1.1.8.framework.zip?download=NECoreIM2Kit_iOS_v1.1.8.framework.zip",
159+
checksum: "e760c56a58fb6aecda2acb99750ee5260648ccecc53f62334a6e70ffae38ea9b"
160+
),
161+
remoteBinary("NECommonUIKit",
162+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/9.8.4/1773373816/NECommonUIKit_iOS_v9.8.4.framework.zip?download=NECommonUIKit_iOS_v9.8.4.framework.zip",
163+
checksum: "6b6676d27d3b8d731a9d98aa6d17d05cf318ab2b088d8c2c1ecec2f215a3bac9"
164+
),
165+
remoteBinary("NEChatKit",
166+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773373891/NEChatKit_iOS_v10.9.11.framework.zip?download=NEChatKit_iOS_v10.9.11.framework.zip",
167+
checksum: "ddd6a8f599fc34422b306e42fce769c1c9fc9494d942466e85b26d5949de5e4b"
168+
),
169+
remoteBinary("NEChatUIKit",
170+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773374259/NEChatUIKit_iOS_v10.9.11.framework.zip?download=NEChatUIKit_iOS_v10.9.11.framework.zip",
171+
checksum: "1b18fa5e61588d3e37c1f4ba7e72657efce3a34763a76e15813958e7315ae4da"
172+
),
173+
remoteBinary("NEContactUIKit",
174+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773374524/NEContactUIKit_iOS_v10.9.11.framework.zip?download=NEContactUIKit_iOS_v10.9.11.framework.zip",
175+
checksum: "4d6ee7221dde4f346ba558c639a06f54e17fbe2207a3a56a7e0a2eb5883290ab"
176+
),
177+
remoteBinary("NEConversationUIKit",
178+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773374793/NEConversationUIKit_iOS_v10.9.11.framework.zip?download=NEConversationUIKit_iOS_v10.9.11.framework.zip",
179+
checksum: "6884e12379b1a7404c2ac0889224e0094f40cd6b3256dbd0469527ec3272162e"
180+
),
181+
remoteBinary("NELocalConversationUIKit",
182+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773375043/NELocalConversationUIKit_iOS_v10.9.11.framework.zip?download=NELocalConversationUIKit_iOS_v10.9.11.framework.zip",
183+
checksum: "c11728e8e0d4ad2763befb0de225cc3056881e4c590dc0f11465f85d92f49aed"
184+
),
185+
remoteBinary("NETeamUIKit",
186+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773375451/NETeamUIKit_iOS_v10.9.11.framework.zip?download=NETeamUIKit_iOS_v10.9.11.framework.zip",
187+
checksum: "7c1ee124a38576baea5a5b86d356d027f79b7cfe2bbbe04da32409dc4cea73f3"
188+
),
189+
remoteBinary("NEMapKit",
190+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773382440/NEMapKit_iOS_v10.9.11.framework.zip?download=NEMapKit_iOS_v10.9.11.framework.zip",
191+
checksum: "f341f818ad54e95871df3a8bd2cd948acdfb3b8e0f160f90b12c6dd5cb4a560d"
192+
),
193+
remoteBinary("NEAISearchKit",
194+
url: "https://yx-web-nosdn.netease.im/xkit/IMUIKit/10.9.11/1773382686/NEAISearchKit_iOS_v10.9.11.framework.zip?download=NEAISearchKit_iOS_v10.9.11.framework.zip",
195+
checksum: "f0ea2db462a1cd477bade02203e6a0b73c65d7a2f4034293e4ad8036bf212938"
196+
),
197+
]
198+
)

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,40 @@
1-
# nim-uikit-ios-spm
1+
# NIM UIKit for iOS (SPM Binary Distribution)
2+
3+
This repository contains pre-built binary frameworks for the NetEase IM UIKit SDK, distributed via Swift Package Manager.
4+
5+
> ⚠️ This repository only contains SPM package manifest and binary references.
6+
> For source code, please visit [nim-uikit-ios](https://github.com/netease-kit/nim-uikit-ios).
7+
8+
## Installation
9+
10+
Add this package to your Xcode project:
11+
12+
1. File → Add Package Dependencies...
13+
2. Enter the repository URL: `https://github.com/netease-kit/nim-uikit-ios-spm`
14+
3. Select the modules you need
15+
16+
## Available Modules
17+
18+
| Module | Description |
19+
|--------|-------------|
20+
| **NECoreKit** | Core utilities |
21+
| **NECommonKit** | Common components |
22+
| **NECoreIM2Kit** | IM Core SDK wrapper |
23+
| **NECommonUIKit** | Common UI components |
24+
| **NEChatKit** | Chat business logic |
25+
| **NEChatUIKit** | Chat UI components |
26+
| **NEContactUIKit** | Contacts UI |
27+
| **NEConversationUIKit** | Conversation list UI |
28+
| **NETeamUIKit** | Team/Group UI |
29+
| **NEMapKit** | Map integration |
30+
| **NEAISearchKit** | AI Search features |
31+
32+
## Requirements
33+
34+
- iOS 13.0+
35+
- Swift 5.5+
36+
- Xcode 13.0+
37+
38+
## License
39+
40+
MIT License - See LICENSE file for details.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder

Sources/NEChatKit_Deps/Deps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder

Sources/NECoreKit_Deps/Deps.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// Dependency placeholder

0 commit comments

Comments
 (0)