Skip to content

Instantly share code, notes, and snippets.

@DrAma999
Created August 2, 2020 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DrAma999/fa9baa6aa03a92b87a03e2017882fb43 to your computer and use it in GitHub Desktop.
Save DrAma999/fa9baa6aa03a92b87a03e2017882fb43 to your computer and use it in GitHub Desktop.
LittleBluetooth package file first
// swift-tools-version:5.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "LittleBlueTooth",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.watchOS(.v6),
.tvOS(.v13)
],
products: [
.library(
name: "LittleBlueTooth",
targets: ["LittleBlueTooth"])
],
dependencies: [
.package(name: "CoreBluetoothMock",
url: "https://github.com/enricodk/IOS-CoreBluetooth-Mock.git",
.branch("multiplatform")),
],
targets: [
.target(
name: "LittleBlueTooth",
dependencies: ["CoreBluetoothMock"]),
.testTarget(
name: "LittleBlueToothTests",
dependencies: ["LittleBlueTooth","CoreBluetoothMock"])
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment