Skip to content

Commit 8accb74

Browse files
committed
try spm + macos support
1 parent 5283113 commit 8accb74

File tree

5 files changed

+257
-0
lines changed

5 files changed

+257
-0
lines changed

.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/MapCache-Mac/Info.plist

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/MapCache-Mac/MapCache_mac.h

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Pods.xcodeproj/project.pbxproj

+176
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// swift-tools-version:5.0
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "MapCache",
8+
platforms: [
9+
.iOS(.v8), .macOS(.v10_10)
10+
],
11+
products: [
12+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
13+
.library(
14+
name: "MapCache",
15+
targets: ["MapCache"]),
16+
],
17+
dependencies: [
18+
// Dependencies declare other packages that this package depends on.
19+
// .package(url: /* package url */, from: "1.0.0"),
20+
],
21+
targets: [
22+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
23+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
24+
.target(
25+
name: "MapCache",
26+
dependencies: [],
27+
path: "MapCache/Classes"),
28+
.testTarget(
29+
name: "MapCache-Tests",
30+
dependencies: ["MapCache"],
31+
path: "Example/Tests"),
32+
],
33+
swiftLanguageVersions: [ .v5 ]
34+
)

0 commit comments

Comments
 (0)