diff --git a/Package.swift b/Package.swift index 4df2333..4372f3c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,13 @@ +// swift-tools-version:5.1 +// The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( - name: "Arrow" + name: "Arrow", + platforms: [.iOS(.v8)], + products: [.library(name: "Arrow", targets: ["Arrow"])], + targets: [ + .target(name: "Arrow", path: "Source"), + .testTarget(name: "ArrowTests", dependencies: ["Arrow"], path: "ArrowTests") + ] ) diff --git a/Source/Extensions.swift b/Source/Extensions.swift index e56d2c8..56cb9b6 100644 --- a/Source/Extensions.swift +++ b/Source/Extensions.swift @@ -7,6 +7,7 @@ // import Foundation +import CoreGraphics public protocol ArrowInitializable { init?(_ json: JSON?)