SPM setup

This commit is contained in:
Povilas Juzeliunas 2020-10-09 13:11:41 +02:00
parent ba15ebc620
commit 252ff40cc9
5 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

View File

@ -0,0 +1,10 @@
//
// Use this file to import your target's public headers that you would like to expose to Swift.
//
#ifndef FSCalendar_Bridging_Header
#define FSCalendar_Bridging_Header
#import "FSCalendar.h"
#endif

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

17
Package.swift Normal file
View File

@ -0,0 +1,17 @@
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "FSCalendar",
platforms: [.iOS(.v8)],
targets: [
.target(
name: "FSCalendar-ObjC", // 1
dependencies: [], // 2
path: "FSCalendar/", // 3
cSettings: [
.headerSearchPath("Internal") // 5
]
)
]
)