diff --git a/.gitignore b/.gitignore index df09814..3c17ffc 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ profile .rake_tasks build.output pkg + +# Swift Package Manager +.build/ diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..d0a0e73 --- /dev/null +++ b/Package.swift @@ -0,0 +1,23 @@ +// swift-tools-version:5.3 + +import PackageDescription + +let package = Package( + name: "SecureFoundation", + platforms: [ + .iOS(.v11), + ], + products: [ + .library( + name: "SecureFoundation", + targets: ["SecureFoundation"]), + ], + targets: [ + .target( + name: "SecureFoundation", + path: "SecureFoundation", + publicHeadersPath: ".", + linkerSettings: [ + .linkedFramework("Security"), + ]), + ]) \ No newline at end of file