mirror of
https://github.com/hub-team/OnlineChatSdk-SwiftPM.git
synced 2026-04-19 02:25:42 +00:00
spm support
This commit is contained in:
24
Package.swift
Normal file
24
Package.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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: "OnlineChatSdk",
|
||||
platforms: [.iOS(.v12)],
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, making them visible to other packages.
|
||||
.library(
|
||||
name: "OnlineChatSdk",
|
||||
targets: ["OnlineChatSdk"]),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.target(
|
||||
name: "OnlineChatSdk",
|
||||
path: "OnlineChatSdk",
|
||||
sources: ["Classes"]
|
||||
)
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user