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.
31 lines
968 B
31 lines
968 B
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "chat_api",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.library(name: "chat-api", targets: ["chat_api"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/MacPaw/OpenAI.git", from: "0.4.3"),
|
|
.package(url: "https://github.com/modelcontextprotocol/swift-sdk.git", from: "0.9.0"),
|
|
.package(path: "../../../location_service/ios/location_service"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "chat_api",
|
|
dependencies: [
|
|
.product(name: "MCP", package: "swift-sdk"),
|
|
.product(name: "OpenAI", package: "OpenAI"),
|
|
.product(name: "location-service", package: "location_service")
|
|
],
|
|
exclude: []
|
|
),
|
|
]
|
|
)
|