diff --git a/.gitignore b/.gitignore index 9596605..8ddaa39 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Xcode .DS_Store build/ +.build/ *.pbxuser !default.pbxuser *.mode1v3 diff --git a/LUKeychainAccess.xcodeproj/project.pbxproj b/LUKeychainAccess.xcodeproj/project.pbxproj index 69e56f5..ada9030 100644 --- a/LUKeychainAccess.xcodeproj/project.pbxproj +++ b/LUKeychainAccess.xcodeproj/project.pbxproj @@ -125,8 +125,8 @@ 0226873916BAD892008FC8FA = { isa = PBXGroup; children = ( + 2AFD0B4A27BB9CE2003EB0BF /* Sources */, F6B0FEE222A89D8F00115793 /* UnitTests */, - 0226874716BAD892008FC8FA /* LUKeychainAccess */, 6AC1AB0A1E0766DD00E699C9 /* Testing App */, 0226874416BAD892008FC8FA /* Frameworks */, 0226874316BAD892008FC8FA /* Products */, @@ -194,6 +194,14 @@ name = Pods; sourceTree = ""; }; + 2AFD0B4A27BB9CE2003EB0BF /* Sources */ = { + isa = PBXGroup; + children = ( + 0226874716BAD892008FC8FA /* LUKeychainAccess */, + ); + path = Sources; + sourceTree = ""; + }; 6AC1AB0A1E0766DD00E699C9 /* Testing App */ = { isa = PBXGroup; children = ( diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..768502a --- /dev/null +++ b/Package.swift @@ -0,0 +1,25 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "LUKeychainAccess", + platforms: [ + .iOS(.v13) + ], + products: [ + .library( + name: "LUKeychainAccess", + targets: ["LUKeychainAccess"]), + ], + dependencies: [ + ], + targets: [ + .target( + name: "LUKeychainAccess", + dependencies: [], + exclude: ["LUKeychainAccess-Prefix.pch", "Info.plist"] + ) + ] +) diff --git a/LUKeychainAccess/Info.plist b/Sources/LUKeychainAccess/Info.plist similarity index 100% rename from LUKeychainAccess/Info.plist rename to Sources/LUKeychainAccess/Info.plist diff --git a/LUKeychainAccess/LUKeychainAccess-Prefix.pch b/Sources/LUKeychainAccess/LUKeychainAccess-Prefix.pch similarity index 100% rename from LUKeychainAccess/LUKeychainAccess-Prefix.pch rename to Sources/LUKeychainAccess/LUKeychainAccess-Prefix.pch diff --git a/LUKeychainAccess/LUKeychainAccess.h b/Sources/LUKeychainAccess/LUKeychainAccess.h similarity index 100% rename from LUKeychainAccess/LUKeychainAccess.h rename to Sources/LUKeychainAccess/LUKeychainAccess.h diff --git a/LUKeychainAccess/LUKeychainAccess.m b/Sources/LUKeychainAccess/LUKeychainAccess.m similarity index 100% rename from LUKeychainAccess/LUKeychainAccess.m rename to Sources/LUKeychainAccess/LUKeychainAccess.m diff --git a/LUKeychainAccess/LUKeychainAccessAccessibility.h b/Sources/LUKeychainAccess/LUKeychainAccessAccessibility.h similarity index 100% rename from LUKeychainAccess/LUKeychainAccessAccessibility.h rename to Sources/LUKeychainAccess/LUKeychainAccessAccessibility.h diff --git a/LUKeychainAccess/LUKeychainErrorHandler.h b/Sources/LUKeychainAccess/LUKeychainErrorHandler.h similarity index 100% rename from LUKeychainAccess/LUKeychainErrorHandler.h rename to Sources/LUKeychainAccess/LUKeychainErrorHandler.h diff --git a/LUKeychainAccess/LUKeychainServices.h b/Sources/LUKeychainAccess/LUKeychainServices.h similarity index 100% rename from LUKeychainAccess/LUKeychainServices.h rename to Sources/LUKeychainAccess/LUKeychainServices.h diff --git a/LUKeychainAccess/LUKeychainServices.m b/Sources/LUKeychainAccess/LUKeychainServices.m similarity index 100% rename from LUKeychainAccess/LUKeychainServices.m rename to Sources/LUKeychainAccess/LUKeychainServices.m diff --git a/LUKeychainAccess/NSKeyedArchiver+Additions.h b/Sources/LUKeychainAccess/NSKeyedArchiver+Additions.h similarity index 100% rename from LUKeychainAccess/NSKeyedArchiver+Additions.h rename to Sources/LUKeychainAccess/NSKeyedArchiver+Additions.h diff --git a/LUKeychainAccess/NSKeyedArchiver+Additions.m b/Sources/LUKeychainAccess/NSKeyedArchiver+Additions.m similarity index 100% rename from LUKeychainAccess/NSKeyedArchiver+Additions.m rename to Sources/LUKeychainAccess/NSKeyedArchiver+Additions.m diff --git a/LUKeychainAccess/NSKeyedUnarchiver+Additions.h b/Sources/LUKeychainAccess/NSKeyedUnarchiver+Additions.h similarity index 100% rename from LUKeychainAccess/NSKeyedUnarchiver+Additions.h rename to Sources/LUKeychainAccess/NSKeyedUnarchiver+Additions.h diff --git a/LUKeychainAccess/NSKeyedUnarchiver+Additions.m b/Sources/LUKeychainAccess/NSKeyedUnarchiver+Additions.m similarity index 100% rename from LUKeychainAccess/NSKeyedUnarchiver+Additions.m rename to Sources/LUKeychainAccess/NSKeyedUnarchiver+Additions.m