Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPM] Add support #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// swift-tools-version:5.9
import PackageDescription

let package = Package(
name: "SAMKeychain",
defaultLocalization: "en",
platforms: [
.iOS(.v12)
],
products: [
.library(
name: "SAMKeychain",
targets: ["SAMKeychain"]
)
],
targets: [
.target(
name: "SAMKeychain",
path: "Sources",
resources: [
.process("../Support/en.lproj/SAMKeychain.strings")
],
publicHeadersPath: ".",
cSettings: [
.headerSearchPath("."), // For locating internal headers, adjust as needed
]
)
]
)
2 changes: 1 addition & 1 deletion Sources/SAMKeychain.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ extern NSString *const kSAMKeychainWhereKey;

NS_ASSUME_NONNULL_END

#import <SAMKeychain/SAMKeychainQuery.h>
#import "SAMKeychainQuery.h"
Binary file added Support/en.lproj/SAMKeychain.strings
Binary file not shown.