Swift Package Manager distribution of TXLiteAVSDK_VoiceAI_Mac (macOS).
对应 CocoaPods 版本:pod 'TXLiteAVSDK_VoiceAI_Mac', '13.6.0.255'
Xcode: File -> Add Package Dependencies,输入仓库地址:
https://github.com/Tencent-RTC/VoiceAI_Mac_SwiftPM.git
或在 Package.swift 中声明依赖:
dependencies: [
.package(url: "https://github.com/Tencent-RTC/VoiceAI_Mac_SwiftPM.git", from: "<tag>")
]import TXLiteAVSDK_VoiceAI_Mac包内以 binaryTarget 形式分发 TXLiteAVSDK_VoiceAI_Mac.xcframework(macos-arm64_x86_64),wrapper target 已携带与 CocoaPods podspec 一致的系统框架及 libc++ 链接配置,无需额外设置。