From 166698d8cd3ccc7416dd63f845094ebfa43c56b4 Mon Sep 17 00:00:00 2001 From: Johannes Kreutz Date: Fri, 30 Sep 2022 14:22:53 +0200 Subject: [PATCH] Make it available as SPM package --- .../contents.xcworkspacedata | 0 JKDesFireReader.xcodeproj/project.pbxproj | 495 ------------------ .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcschemes/JKDesFireReader.xcscheme | 67 --- .../xcschemes/JKDesFireReader.xcscheme | 67 --- LICENSE | 201 ------- Package.resolved | 14 + Package.swift | 28 + README.md | 24 +- .../JKDesFireReader}/Info.plist | 0 .../JKDesFireApplication.swift | 0 .../JKDesFireData/JKDesFireCommand.swift | 0 .../JKDesFireData/JKDesFireError.swift | 0 .../JKDesFireData/JKDesFireFileTypes.swift | 0 .../JKDesFireFile/JKDesFireDataFile.swift | 0 .../JKDesFireFile/JKDesFireFile.swift | 0 .../JKDesFireFile/JKDesFireValueFile.swift | 0 .../JKDesFireDataFileSettings.swift | 0 .../JKDesFireFileSettings.swift | 0 .../JKDesFireRecordFileSettings.swift | 0 .../JKDesFireValueFileSettings.swift | 0 .../JKDesFireReader}/JKDesFireProtocol.swift | 0 .../JKDesFireReader}/JKDesFireReader.h | 0 .../JKDesFireReader}/JKDesFireReader.swift | 0 .../JKDesFireReaderDelegate.swift | 0 .../JKExtensions/JKDataHexString.swift | 0 .../JKExtensions/JKEssentials.swift | 0 .../JKNFC/JKNFCReadingSession.swift | 0 28 files changed, 43 insertions(+), 861 deletions(-) rename {JKDesFireReader.xcodeproj/project.xcworkspace => .swiftpm/xcode/package.xcworkspace}/contents.xcworkspacedata (100%) delete mode 100644 JKDesFireReader.xcodeproj/project.pbxproj delete mode 100644 JKDesFireReader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme delete mode 100644 JKDesFireReader/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme delete mode 100644 LICENSE create mode 100644 Package.resolved create mode 100644 Package.swift rename {JKDesFireReader => Sources/JKDesFireReader}/Info.plist (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireApplication.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireData/JKDesFireCommand.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireData/JKDesFireError.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireData/JKDesFireFileTypes.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFile/JKDesFireDataFile.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFile/JKDesFireFile.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFile/JKDesFireValueFile.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFileSettings/JKDesFireDataFileSettings.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFileSettings/JKDesFireFileSettings.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFileSettings/JKDesFireRecordFileSettings.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireFileSettings/JKDesFireValueFileSettings.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireProtocol.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireReader.h (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireReader.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKDesFireReaderDelegate.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKExtensions/JKDataHexString.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKExtensions/JKEssentials.swift (100%) rename {JKDesFireReader => Sources/JKDesFireReader}/JKNFC/JKNFCReadingSession.swift (100%) diff --git a/JKDesFireReader.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata similarity index 100% rename from JKDesFireReader.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata diff --git a/JKDesFireReader.xcodeproj/project.pbxproj b/JKDesFireReader.xcodeproj/project.pbxproj deleted file mode 100644 index 34616c1..0000000 --- a/JKDesFireReader.xcodeproj/project.pbxproj +++ /dev/null @@ -1,495 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 52; - objects = { - -/* Begin PBXBuildFile section */ - 8F27224222C01A4C002BBAC0 /* JKDataHexString.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F27224122C01A4C002BBAC0 /* JKDataHexString.swift */; }; - 8F3347CA2308A1A40052FDF3 /* JKDesFireFile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F3347C92308A1A40052FDF3 /* JKDesFireFile.swift */; }; - 8F3347CC2308A1B00052FDF3 /* JKDesFireValueFile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F3347CB2308A1B00052FDF3 /* JKDesFireValueFile.swift */; }; - 8F3347CE2308A6E70052FDF3 /* JKDesFireApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F3347CD2308A6E70052FDF3 /* JKDesFireApplication.swift */; }; - 8F4B0CBA23295280001BAC01 /* JKDesFireValueFileSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F4B0CB923295280001BAC01 /* JKDesFireValueFileSettings.swift */; }; - 8F5D8FE523256F5600ABEF07 /* JKDesFireDataFileSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F5D8FE423256F5600ABEF07 /* JKDesFireDataFileSettings.swift */; }; - 8F5D8FE723256F6700ABEF07 /* JKDesFireRecordFileSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F5D8FE623256F6700ABEF07 /* JKDesFireRecordFileSettings.swift */; }; - 8F7F7F3422B9894F0048C268 /* JKDesFireReader.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F7F7F3222B9894F0048C268 /* JKDesFireReader.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8F7F7F3B22B9897A0048C268 /* JKDesFireReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F7F3A22B9897A0048C268 /* JKDesFireReader.swift */; }; - 8F7F7F3D22B98A150048C268 /* JKNFCReadingSession.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F7F7F3C22B98A150048C268 /* JKNFCReadingSession.swift */; }; - 8FBDE41F22BB59E300143C06 /* JKDesFireProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FBDE41E22BB59E300143C06 /* JKDesFireProtocol.swift */; }; - 8FBDE42422BB5EAB00143C06 /* CoreNFC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FBDE42122BB5E9600143C06 /* CoreNFC.framework */; platformFilter = ios; }; - 8FBDE69F22BD6EE200DACD9B /* JKDesFireReaderDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FBDE69E22BD6EE200DACD9B /* JKDesFireReaderDelegate.swift */; }; - 8FC3764722BBE7A80089B7BD /* JKDesFireCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FC3764622BBE7A80089B7BD /* JKDesFireCommand.swift */; }; - 8FC4B7FA28E597BD00100E82 /* PromiseKit in Frameworks */ = {isa = PBXBuildFile; productRef = 8FC4B7F928E597BD00100E82 /* PromiseKit */; }; - 8FD0BE0D2326D1D700A26E54 /* JKDesFireDataFile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FD0BE0C2326D1D700A26E54 /* JKDesFireDataFile.swift */; }; - 8FE6D47422CD351600F9DB43 /* JKEssentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FE6D47322CD351600F9DB43 /* JKEssentials.swift */; }; - 8FFD344322BBB01300886F09 /* JKDesFireError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FFD344222BBB01300886F09 /* JKDesFireError.swift */; }; - 8FFD344522BBB26000886F09 /* JKDesFireFileSettings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FFD344422BBB26000886F09 /* JKDesFireFileSettings.swift */; }; - 8FFD344822BBB4FA00886F09 /* JKDesFireFileTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8FFD344722BBB4FA00886F09 /* JKDesFireFileTypes.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 8F27224122C01A4C002BBAC0 /* JKDataHexString.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDataHexString.swift; sourceTree = ""; }; - 8F3347C92308A1A40052FDF3 /* JKDesFireFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireFile.swift; sourceTree = ""; }; - 8F3347CB2308A1B00052FDF3 /* JKDesFireValueFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireValueFile.swift; sourceTree = ""; }; - 8F3347CD2308A6E70052FDF3 /* JKDesFireApplication.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireApplication.swift; sourceTree = ""; }; - 8F4B0CB923295280001BAC01 /* JKDesFireValueFileSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireValueFileSettings.swift; sourceTree = ""; }; - 8F5D8FE423256F5600ABEF07 /* JKDesFireDataFileSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireDataFileSettings.swift; sourceTree = ""; }; - 8F5D8FE623256F6700ABEF07 /* JKDesFireRecordFileSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireRecordFileSettings.swift; sourceTree = ""; }; - 8F7F7F2F22B9894F0048C268 /* JKDesFireReader.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = JKDesFireReader.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 8F7F7F3222B9894F0048C268 /* JKDesFireReader.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JKDesFireReader.h; sourceTree = ""; }; - 8F7F7F3322B9894F0048C268 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 8F7F7F3A22B9897A0048C268 /* JKDesFireReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireReader.swift; sourceTree = ""; }; - 8F7F7F3C22B98A150048C268 /* JKNFCReadingSession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKNFCReadingSession.swift; sourceTree = ""; }; - 8FBDE41E22BB59E300143C06 /* JKDesFireProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireProtocol.swift; sourceTree = ""; }; - 8FBDE42122BB5E9600143C06 /* CoreNFC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreNFC.framework; path = System/Library/Frameworks/CoreNFC.framework; sourceTree = SDKROOT; }; - 8FBDE42322BB5EA500143C06 /* libswiftCoreNFC.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libswiftCoreNFC.tbd; path = usr/lib/swift/libswiftCoreNFC.tbd; sourceTree = SDKROOT; }; - 8FBDE69E22BD6EE200DACD9B /* JKDesFireReaderDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireReaderDelegate.swift; sourceTree = ""; }; - 8FC3764622BBE7A80089B7BD /* JKDesFireCommand.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireCommand.swift; sourceTree = ""; }; - 8FD0BE0C2326D1D700A26E54 /* JKDesFireDataFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireDataFile.swift; sourceTree = ""; }; - 8FE6D47322CD351600F9DB43 /* JKEssentials.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKEssentials.swift; sourceTree = ""; }; - 8FFD344222BBB01300886F09 /* JKDesFireError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireError.swift; sourceTree = ""; }; - 8FFD344422BBB26000886F09 /* JKDesFireFileSettings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireFileSettings.swift; sourceTree = ""; }; - 8FFD344722BBB4FA00886F09 /* JKDesFireFileTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JKDesFireFileTypes.swift; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 8F7F7F2C22B9894F0048C268 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8FBDE42422BB5EAB00143C06 /* CoreNFC.framework in Frameworks */, - 8FC4B7FA28E597BD00100E82 /* PromiseKit in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 8F27224022C01A35002BBAC0 /* JKExtensions */ = { - isa = PBXGroup; - children = ( - 8F27224122C01A4C002BBAC0 /* JKDataHexString.swift */, - 8FE6D47322CD351600F9DB43 /* JKEssentials.swift */, - ); - path = JKExtensions; - sourceTree = ""; - }; - 8F3347C82308A1970052FDF3 /* JKDesFireFile */ = { - isa = PBXGroup; - children = ( - 8F3347C92308A1A40052FDF3 /* JKDesFireFile.swift */, - 8F3347CB2308A1B00052FDF3 /* JKDesFireValueFile.swift */, - 8FD0BE0C2326D1D700A26E54 /* JKDesFireDataFile.swift */, - ); - path = JKDesFireFile; - sourceTree = ""; - }; - 8F7F7F2522B9894F0048C268 = { - isa = PBXGroup; - children = ( - 8F7F7F3122B9894F0048C268 /* JKDesFireReader */, - 8F7F7F3022B9894F0048C268 /* Products */, - 8FBDE42022BB5E9600143C06 /* Frameworks */, - ); - sourceTree = ""; - }; - 8F7F7F3022B9894F0048C268 /* Products */ = { - isa = PBXGroup; - children = ( - 8F7F7F2F22B9894F0048C268 /* JKDesFireReader.framework */, - ); - name = Products; - sourceTree = ""; - }; - 8F7F7F3122B9894F0048C268 /* JKDesFireReader */ = { - isa = PBXGroup; - children = ( - 8F3347C82308A1970052FDF3 /* JKDesFireFile */, - 8F27224022C01A35002BBAC0 /* JKExtensions */, - 8FD758B822BE709400C7964C /* JKNFC */, - 8FD758B722BE701800C7964C /* JKDesFireData */, - 8FFD344622BBB4E300886F09 /* JKDesFireFileSettings */, - 8F7F7F3222B9894F0048C268 /* JKDesFireReader.h */, - 8F7F7F3322B9894F0048C268 /* Info.plist */, - 8F7F7F3A22B9897A0048C268 /* JKDesFireReader.swift */, - 8FBDE41E22BB59E300143C06 /* JKDesFireProtocol.swift */, - 8FBDE69E22BD6EE200DACD9B /* JKDesFireReaderDelegate.swift */, - 8F3347CD2308A6E70052FDF3 /* JKDesFireApplication.swift */, - ); - path = JKDesFireReader; - sourceTree = ""; - }; - 8FBDE42022BB5E9600143C06 /* Frameworks */ = { - isa = PBXGroup; - children = ( - 8FBDE42322BB5EA500143C06 /* libswiftCoreNFC.tbd */, - 8FBDE42122BB5E9600143C06 /* CoreNFC.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; - 8FD758B722BE701800C7964C /* JKDesFireData */ = { - isa = PBXGroup; - children = ( - 8FFD344222BBB01300886F09 /* JKDesFireError.swift */, - 8FC3764622BBE7A80089B7BD /* JKDesFireCommand.swift */, - 8FFD344722BBB4FA00886F09 /* JKDesFireFileTypes.swift */, - ); - path = JKDesFireData; - sourceTree = ""; - }; - 8FD758B822BE709400C7964C /* JKNFC */ = { - isa = PBXGroup; - children = ( - 8F7F7F3C22B98A150048C268 /* JKNFCReadingSession.swift */, - ); - path = JKNFC; - sourceTree = ""; - }; - 8FFD344622BBB4E300886F09 /* JKDesFireFileSettings */ = { - isa = PBXGroup; - children = ( - 8FFD344422BBB26000886F09 /* JKDesFireFileSettings.swift */, - 8F5D8FE423256F5600ABEF07 /* JKDesFireDataFileSettings.swift */, - 8F5D8FE623256F6700ABEF07 /* JKDesFireRecordFileSettings.swift */, - 8F4B0CB923295280001BAC01 /* JKDesFireValueFileSettings.swift */, - ); - path = JKDesFireFileSettings; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - 8F7F7F2A22B9894F0048C268 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 8F7F7F3422B9894F0048C268 /* JKDesFireReader.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 8F7F7F2E22B9894F0048C268 /* JKDesFireReader */ = { - isa = PBXNativeTarget; - buildConfigurationList = 8F7F7F3722B9894F0048C268 /* Build configuration list for PBXNativeTarget "JKDesFireReader" */; - buildPhases = ( - 8F7F7F2A22B9894F0048C268 /* Headers */, - 8F7F7F2B22B9894F0048C268 /* Sources */, - 8F7F7F2C22B9894F0048C268 /* Frameworks */, - 8F7F7F2D22B9894F0048C268 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = JKDesFireReader; - packageProductDependencies = ( - 8FC4B7F928E597BD00100E82 /* PromiseKit */, - ); - productName = JKDesFireReader; - productReference = 8F7F7F2F22B9894F0048C268 /* JKDesFireReader.framework */; - productType = "com.apple.product-type.framework"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 8F7F7F2622B9894F0048C268 /* Project object */ = { - isa = PBXProject; - attributes = { - LastUpgradeCheck = 1400; - ORGANIZATIONNAME = "Johannes Kreutz"; - TargetAttributes = { - 8F7F7F2E22B9894F0048C268 = { - CreatedOnToolsVersion = 11.0; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 8F7F7F2922B9894F0048C268 /* Build configuration list for PBXProject "JKDesFireReader" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 8F7F7F2522B9894F0048C268; - packageReferences = ( - 8FC4B7F828E597BD00100E82 /* XCRemoteSwiftPackageReference "PromiseKit" */, - ); - productRefGroup = 8F7F7F3022B9894F0048C268 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 8F7F7F2E22B9894F0048C268 /* JKDesFireReader */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 8F7F7F2D22B9894F0048C268 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 8F7F7F2B22B9894F0048C268 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 8F3347CC2308A1B00052FDF3 /* JKDesFireValueFile.swift in Sources */, - 8F4B0CBA23295280001BAC01 /* JKDesFireValueFileSettings.swift in Sources */, - 8F7F7F3D22B98A150048C268 /* JKNFCReadingSession.swift in Sources */, - 8F27224222C01A4C002BBAC0 /* JKDataHexString.swift in Sources */, - 8FFD344822BBB4FA00886F09 /* JKDesFireFileTypes.swift in Sources */, - 8FFD344322BBB01300886F09 /* JKDesFireError.swift in Sources */, - 8FFD344522BBB26000886F09 /* JKDesFireFileSettings.swift in Sources */, - 8FE6D47422CD351600F9DB43 /* JKEssentials.swift in Sources */, - 8F5D8FE523256F5600ABEF07 /* JKDesFireDataFileSettings.swift in Sources */, - 8F5D8FE723256F6700ABEF07 /* JKDesFireRecordFileSettings.swift in Sources */, - 8FBDE41F22BB59E300143C06 /* JKDesFireProtocol.swift in Sources */, - 8F7F7F3B22B9897A0048C268 /* JKDesFireReader.swift in Sources */, - 8F3347CE2308A6E70052FDF3 /* JKDesFireApplication.swift in Sources */, - 8F3347CA2308A1A40052FDF3 /* JKDesFireFile.swift in Sources */, - 8FD0BE0D2326D1D700A26E54 /* JKDesFireDataFile.swift in Sources */, - 8FBDE69F22BD6EE200DACD9B /* JKDesFireReaderDelegate.swift in Sources */, - 8FC3764722BBE7A80089B7BD /* JKDesFireCommand.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 8F7F7F3522B9894F0048C268 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - 8F7F7F3622B9894F0048C268 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - SDKROOT = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 8F7F7F3822B9894F0048C268 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 100; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = EBQF48FD36; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = JKDesFireReader/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0.0; - ONLY_ACTIVE_ARCH = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.johanneskreutz.JKDesFireReader; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = NO; - SUPPORTS_UIKITFORMAC = NO; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Debug; - }; - 8F7F7F3922B9894F0048C268 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 100; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = EBQF48FD36; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = JKDesFireReader/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 1.0.0; - ONLY_ACTIVE_ARCH = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.johanneskreutz.JKDesFireReader; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = NO; - SUPPORTS_UIKITFORMAC = NO; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 8F7F7F2922B9894F0048C268 /* Build configuration list for PBXProject "JKDesFireReader" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8F7F7F3522B9894F0048C268 /* Debug */, - 8F7F7F3622B9894F0048C268 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 8F7F7F3722B9894F0048C268 /* Build configuration list for PBXNativeTarget "JKDesFireReader" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 8F7F7F3822B9894F0048C268 /* Debug */, - 8F7F7F3922B9894F0048C268 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - -/* Begin XCRemoteSwiftPackageReference section */ - 8FC4B7F828E597BD00100E82 /* XCRemoteSwiftPackageReference "PromiseKit" */ = { - isa = XCRemoteSwiftPackageReference; - repositoryURL = "https://github.com/mxcl/PromiseKit"; - requirement = { - kind = upToNextMajorVersion; - minimumVersion = 6.0.0; - }; - }; -/* End XCRemoteSwiftPackageReference section */ - -/* Begin XCSwiftPackageProductDependency section */ - 8FC4B7F928E597BD00100E82 /* PromiseKit */ = { - isa = XCSwiftPackageProductDependency; - package = 8FC4B7F828E597BD00100E82 /* XCRemoteSwiftPackageReference "PromiseKit" */; - productName = PromiseKit; - }; -/* End XCSwiftPackageProductDependency section */ - }; - rootObject = 8F7F7F2622B9894F0048C268 /* Project object */; -} diff --git a/JKDesFireReader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/JKDesFireReader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/JKDesFireReader.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme b/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme deleted file mode 100644 index 00a3df5..0000000 --- a/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/JKDesFireReader/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme b/JKDesFireReader/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme deleted file mode 100644 index bdbafd5..0000000 --- a/JKDesFireReader/JKDesFireReader.xcodeproj/xcshareddata/xcschemes/JKDesFireReader.xcscheme +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..cf55842 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,14 @@ +{ + "pins" : [ + { + "identity" : "promisekit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/mxcl/PromiseKit", + "state" : { + "revision" : "43772616c46a44a9977e41924ae01d0e55f2f9ca", + "version" : "6.18.1" + } + } + ], + "version" : 2 +} diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..1b7f5b8 --- /dev/null +++ b/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version: 5.7 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "JKDesFireReader", + platforms: [ + .iOS(.v13) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "JKDesFireReader", + targets: ["JKDesFireReader"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + .package(url: "https://github.com/mxcl/PromiseKit", from: "6.18.1"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "JKDesFireReader", + dependencies: ["PromiseKit"]), + ] +) diff --git a/README.md b/README.md index d69758b..fdd223f 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,3 @@ # JKDesFireReader -This is a Framework to read DesFire NFC tags with iOS 13 and Core NFC. -# Requirements -To use this framework, you will need Xcode 11. DesFire tag reading is possible on iPhone 7 or newer running iOS 13 or newer. - -# API Documentation -Work in progress, API Documentation will be added very soon. Please stay tuned :) - -# Contributing -If you find a bug, or want to provide some feedback / ideas, feel free to open an issue. -If you want to contribute code, feel free to open a pull request. - -# License -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. +A description of this package. diff --git a/JKDesFireReader/Info.plist b/Sources/JKDesFireReader/Info.plist similarity index 100% rename from JKDesFireReader/Info.plist rename to Sources/JKDesFireReader/Info.plist diff --git a/JKDesFireReader/JKDesFireApplication.swift b/Sources/JKDesFireReader/JKDesFireApplication.swift similarity index 100% rename from JKDesFireReader/JKDesFireApplication.swift rename to Sources/JKDesFireReader/JKDesFireApplication.swift diff --git a/JKDesFireReader/JKDesFireData/JKDesFireCommand.swift b/Sources/JKDesFireReader/JKDesFireData/JKDesFireCommand.swift similarity index 100% rename from JKDesFireReader/JKDesFireData/JKDesFireCommand.swift rename to Sources/JKDesFireReader/JKDesFireData/JKDesFireCommand.swift diff --git a/JKDesFireReader/JKDesFireData/JKDesFireError.swift b/Sources/JKDesFireReader/JKDesFireData/JKDesFireError.swift similarity index 100% rename from JKDesFireReader/JKDesFireData/JKDesFireError.swift rename to Sources/JKDesFireReader/JKDesFireData/JKDesFireError.swift diff --git a/JKDesFireReader/JKDesFireData/JKDesFireFileTypes.swift b/Sources/JKDesFireReader/JKDesFireData/JKDesFireFileTypes.swift similarity index 100% rename from JKDesFireReader/JKDesFireData/JKDesFireFileTypes.swift rename to Sources/JKDesFireReader/JKDesFireData/JKDesFireFileTypes.swift diff --git a/JKDesFireReader/JKDesFireFile/JKDesFireDataFile.swift b/Sources/JKDesFireReader/JKDesFireFile/JKDesFireDataFile.swift similarity index 100% rename from JKDesFireReader/JKDesFireFile/JKDesFireDataFile.swift rename to Sources/JKDesFireReader/JKDesFireFile/JKDesFireDataFile.swift diff --git a/JKDesFireReader/JKDesFireFile/JKDesFireFile.swift b/Sources/JKDesFireReader/JKDesFireFile/JKDesFireFile.swift similarity index 100% rename from JKDesFireReader/JKDesFireFile/JKDesFireFile.swift rename to Sources/JKDesFireReader/JKDesFireFile/JKDesFireFile.swift diff --git a/JKDesFireReader/JKDesFireFile/JKDesFireValueFile.swift b/Sources/JKDesFireReader/JKDesFireFile/JKDesFireValueFile.swift similarity index 100% rename from JKDesFireReader/JKDesFireFile/JKDesFireValueFile.swift rename to Sources/JKDesFireReader/JKDesFireFile/JKDesFireValueFile.swift diff --git a/JKDesFireReader/JKDesFireFileSettings/JKDesFireDataFileSettings.swift b/Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireDataFileSettings.swift similarity index 100% rename from JKDesFireReader/JKDesFireFileSettings/JKDesFireDataFileSettings.swift rename to Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireDataFileSettings.swift diff --git a/JKDesFireReader/JKDesFireFileSettings/JKDesFireFileSettings.swift b/Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireFileSettings.swift similarity index 100% rename from JKDesFireReader/JKDesFireFileSettings/JKDesFireFileSettings.swift rename to Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireFileSettings.swift diff --git a/JKDesFireReader/JKDesFireFileSettings/JKDesFireRecordFileSettings.swift b/Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireRecordFileSettings.swift similarity index 100% rename from JKDesFireReader/JKDesFireFileSettings/JKDesFireRecordFileSettings.swift rename to Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireRecordFileSettings.swift diff --git a/JKDesFireReader/JKDesFireFileSettings/JKDesFireValueFileSettings.swift b/Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireValueFileSettings.swift similarity index 100% rename from JKDesFireReader/JKDesFireFileSettings/JKDesFireValueFileSettings.swift rename to Sources/JKDesFireReader/JKDesFireFileSettings/JKDesFireValueFileSettings.swift diff --git a/JKDesFireReader/JKDesFireProtocol.swift b/Sources/JKDesFireReader/JKDesFireProtocol.swift similarity index 100% rename from JKDesFireReader/JKDesFireProtocol.swift rename to Sources/JKDesFireReader/JKDesFireProtocol.swift diff --git a/JKDesFireReader/JKDesFireReader.h b/Sources/JKDesFireReader/JKDesFireReader.h similarity index 100% rename from JKDesFireReader/JKDesFireReader.h rename to Sources/JKDesFireReader/JKDesFireReader.h diff --git a/JKDesFireReader/JKDesFireReader.swift b/Sources/JKDesFireReader/JKDesFireReader.swift similarity index 100% rename from JKDesFireReader/JKDesFireReader.swift rename to Sources/JKDesFireReader/JKDesFireReader.swift diff --git a/JKDesFireReader/JKDesFireReaderDelegate.swift b/Sources/JKDesFireReader/JKDesFireReaderDelegate.swift similarity index 100% rename from JKDesFireReader/JKDesFireReaderDelegate.swift rename to Sources/JKDesFireReader/JKDesFireReaderDelegate.swift diff --git a/JKDesFireReader/JKExtensions/JKDataHexString.swift b/Sources/JKDesFireReader/JKExtensions/JKDataHexString.swift similarity index 100% rename from JKDesFireReader/JKExtensions/JKDataHexString.swift rename to Sources/JKDesFireReader/JKExtensions/JKDataHexString.swift diff --git a/JKDesFireReader/JKExtensions/JKEssentials.swift b/Sources/JKDesFireReader/JKExtensions/JKEssentials.swift similarity index 100% rename from JKDesFireReader/JKExtensions/JKEssentials.swift rename to Sources/JKDesFireReader/JKExtensions/JKEssentials.swift diff --git a/JKDesFireReader/JKNFC/JKNFCReadingSession.swift b/Sources/JKDesFireReader/JKNFC/JKNFCReadingSession.swift similarity index 100% rename from JKDesFireReader/JKNFC/JKNFCReadingSession.swift rename to Sources/JKDesFireReader/JKNFC/JKNFCReadingSession.swift