feat: 添加 CocoaPods 支持,更新集成文档
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
12
README.md
12
README.md
@@ -4,10 +4,20 @@
|
||||
|
||||
## 集成
|
||||
|
||||
### CocoaPods
|
||||
|
||||
```ruby
|
||||
pod 'DuooomiBleSDK', :git => 'https://gitea.bowong.cc/comi-logic/duooomi-ios-sdk.git', :branch => 'main'
|
||||
```
|
||||
|
||||
然后执行 `pod install`。
|
||||
|
||||
### Swift Package Manager
|
||||
|
||||
```swift
|
||||
// Package.swift
|
||||
dependencies: [
|
||||
.package(path: "../duooomi-ios-sdk")
|
||||
.package(url: "https://gitea.bowong.cc/comi-logic/duooomi-ios-sdk.git", branch: "main")
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user