diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 23662c3..d1b3d53 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,4 +19,4 @@ jobs: with: xcode-version: "14.2.0" - name: package - run: xcodebuild test -scheme tkey_pkg -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO \ No newline at end of file + run: xcodebuild test -scheme tkey-swift -destination "platform=iOS Simulator,OS=16.2,name=iPhone 14" COMPILER_INDEX_STORE_ENABLE=NO \ No newline at end of file diff --git a/Package.swift b/Package.swift index 408d9b2..1ec4b70 100644 --- a/Package.swift +++ b/Package.swift @@ -4,15 +4,15 @@ import PackageDescription let package = Package( - name: "tkey_pkg", + name: "tkey-swift", platforms: [ - .iOS(SupportedPlatform.IOSVersion.v14), .macOS(.v10_15) + .iOS(SupportedPlatform.IOSVersion.v15), .macOS(.v10_15) ], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( - name: "ThresholdKey", - targets: ["tkey-pkg"]), + name: "tkey-swift", + targets: ["tkey-swift"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. @@ -29,13 +29,13 @@ let package = Package( path: "Sources/libtkey" ), .target( - name: "tkey-pkg", + name: "tkey-swift", dependencies: ["lib"], path: "Sources/ThresholdKey" ), .testTarget( - name: "tkey-pkgTests", - dependencies: ["tkey-pkg"], + name: "tkey-swiftTests", + dependencies: ["tkey-swift"], path: "Tests/tkeypkgTests" ), ] diff --git a/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift index 47fcfb1..4f09df0 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgPrivateKeysModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgPrivateKeyModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift index 396f16c..970b308 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgSecurityQuestionModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgSecurityQuestionModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift index 1376c9f..bfd5074 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgSeedPhraseModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgSeedPhraseModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift index 5520cf2..e527d39 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgShareSerializationModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareSerializationModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift b/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift index 16b16de..5977969 100644 --- a/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift +++ b/Tests/tkeypkgTests/modules/tkey_pkgShareTransferModuleTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareTransferModuleTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift b/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift index 05cfa47..df347de 100644 --- a/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgGenerateShareStoreResultTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgGenerateShareStoreResultTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift b/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift index 84ba9a1..9c08b16 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyDetailsTest.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgKeyDetailsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift index 89b51e2..d7eae30 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyPointArrayTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgKeyPointArrayTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift index d6f49ed..f7cc3ee 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyPointTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgKeyPointTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift b/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift index 035395a..1d635be 100644 --- a/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgKeyReconstructionDetailsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgKeyReconstructionDetailsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift b/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift index 34825db..96d5c19 100644 --- a/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgLocalMetadataTransitionsTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgLocalMetadataTransitionsTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift b/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift index 92a1ec2..a8d2fee 100644 --- a/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgMetadataTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgMetadataTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift b/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift index a0313f6..cc6559e 100644 --- a/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPolynomialTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgPolynomialTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift b/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift index 2e44f20..1794d14 100644 --- a/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPrivateKeyTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgPrivateKeyTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift b/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift index 82894e4..b73a7ec 100644 --- a/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgPublicPolynomialTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgPublicPolynomialTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift b/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift index 9421fbe..e31c2a9 100644 --- a/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgServiceProviderTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgServiceProviderTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift index 5d4d491..4d10562 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreArrayTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareStoreArrayTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift index 0d8afa9..0361e2b 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreMapTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareStoreMapTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift index 0b01ef0..dec89db 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStorePolyIdIndexMapTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareStorePolyIdIndexMapTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift b/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift index fe50bff..0c4156e 100644 --- a/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgShareStoreTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgShareStoreTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift b/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift index 263dd9f..542bf08 100644 --- a/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgStorageLayerTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift import Foundation final class tkey_pkgStorageLayerTests: XCTestCase { diff --git a/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift b/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift index 1dd4215..13c5fbd 100644 --- a/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgThresholdKeyTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift final class tkey_pkgThresholdKeyTests: XCTestCase { func test_basic_threshold_key_reconstruct() async { diff --git a/Tests/tkeypkgTests/tkey_pkgVersionTests.swift b/Tests/tkeypkgTests/tkey_pkgVersionTests.swift index f25f3ae..a949199 100644 --- a/Tests/tkeypkgTests/tkey_pkgVersionTests.swift +++ b/Tests/tkeypkgTests/tkey_pkgVersionTests.swift @@ -1,6 +1,6 @@ import XCTest import Foundation -@testable import tkey_pkg +@testable import tkey_swift final class tkey_pkgVersionTests: XCTestCase { func test_library_version() {