From 252ff40cc9f2bfbadc819d391d07e7f6c7c9dd3a Mon Sep 17 00:00:00 2001 From: Povilas Juzeliunas Date: Fri, 9 Oct 2020 13:11:41 +0200 Subject: [PATCH] SPM setup --- .../contents.xcworkspacedata | 7 +++++++ .../contents.xcworkspacedata | 7 +++++++ FSCalendar/FSCalendarExample-Bridging-Header.h | 10 ++++++++++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ Package.swift | 17 +++++++++++++++++ 5 files changed, 49 insertions(+) create mode 100644 .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 FSCalendar/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata create mode 100644 FSCalendar/FSCalendarExample-Bridging-Header.h create mode 100644 FSCalendarExamples.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Package.swift diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/FSCalendar/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/FSCalendar/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/FSCalendar/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/FSCalendar/FSCalendarExample-Bridging-Header.h b/FSCalendar/FSCalendarExample-Bridging-Header.h new file mode 100644 index 0000000..ab0e4f0 --- /dev/null +++ b/FSCalendar/FSCalendarExample-Bridging-Header.h @@ -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 diff --git a/FSCalendarExamples.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/FSCalendarExamples.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/FSCalendarExamples.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..b4fff19 --- /dev/null +++ b/Package.swift @@ -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 + ] + ) + ] +)