diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..5b67742 --- /dev/null +++ b/Package.swift @@ -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 + ] + ) + ] +) diff --git a/Sources/SAMKeychain.h b/Sources/SAMKeychain.h index 2af305d..c6a2822 100644 --- a/Sources/SAMKeychain.h +++ b/Sources/SAMKeychain.h @@ -200,4 +200,4 @@ extern NSString *const kSAMKeychainWhereKey; NS_ASSUME_NONNULL_END -#import +#import "SAMKeychainQuery.h" diff --git a/Support/en.lproj/SAMKeychain.strings b/Support/en.lproj/SAMKeychain.strings new file mode 100644 index 0000000..5c0f174 Binary files /dev/null and b/Support/en.lproj/SAMKeychain.strings differ