You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
740 B

// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "azure_speech",
platforms: [.iOS("18.0")],
products: [
.library(name: "azure-speech", targets: ["azure_speech"])
],
dependencies: [
// 依赖speech接口模块
.package(path: "../../../speech/ios/speech")
],
targets: [
.target(
name: "azure_speech",
dependencies: [
.product(name: "speech", package: "speech"),
"MicrosoftCognitiveServicesSpeech"
],
path: "Sources/azure_speech"
),
// 使用binaryTarget引用Azure Speech SDK的.xcframework
.binaryTarget(
name: "MicrosoftCognitiveServicesSpeech",
path: "MicrosoftCognitiveServicesSpeech.xcframework"
)
]
)