Rename main product
- Commit
6778e66e55c6ae537c0cfb1087e01e0d16ebc943- Author
- Kabir Oberai <[email protected]>
- When
- 2025-05-06 06:00 UTC (1 year ago)
- Parents
bb21ff0
Diff
.github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 92c1cef..1119985 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v4 - name: Build run: |- docker compose run --build --rm supersign -c "swift build --product SupersignCLI"+ docker compose run --build --rm xtool -c "swift build --product xtool" build-macos: runs-on: macos-15 steps:@@ -24,4 +24,4 @@ jobs: uses: actions/checkout@v4 - name: Build run: |- swift build --product SupersignCLI+ swift build --product xtool
.github/workflows/release-linux.yml
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.ymlindex 1a415bf..45f1ae5 100644--- a/.github/workflows/release-linux.yml+++ b/.github/workflows/release-linux.yml@@ -19,13 +19,13 @@ jobs: uses: actions/checkout@v4 - name: Build run: |- docker compose run --build --rm supersign -c "Linux/build.sh && mv Linux/packages/Supersign{,-${{ matrix.host.arch }}}.AppImage"+ docker compose run --build --rm xtool -c "Linux/build.sh && mv Linux/packages/xtool{,-${{ matrix.host.arch }}}.AppImage" - name: Upload artifact id: upload_artifact uses: actions/upload-artifact@v4 with:- name: Supersign-${{ matrix.host.arch }}- path: Linux/packages/Supersign-${{ matrix.host.arch }}.AppImage+ name: xtool-${{ matrix.host.arch }}+ path: Linux/packages/xtool-${{ matrix.host.arch }}.AppImage release: needs: build runs-on: ubuntu-24.04@@ -39,7 +39,7 @@ jobs: id: download_artifact uses: actions/download-artifact@v4 with:- pattern: Supersign-*+ pattern: xtool-* path: output - name: Create and publish release id: publish_release
.spi.yml
diff --git a/.spi.yml b/.spi.ymlindex 32c2a7e..e2c5c12 100644--- a/.spi.yml+++ b/.spi.yml@@ -1,14 +1,14 @@ version: 1 builder: configs:- - scheme: SupersignCLI+ - scheme: xtool platform: macosSpm documentation_targets:- - SupersignCLI- - scheme: SupersignCLI+ - xtool+ - scheme: xtool platform: macosXcodebuild- # - scheme: SupersignCLI+ # - scheme: xtool # platform: linux # image: # TODO: we need to use our own Docker image for this- - scheme: Supersign+ - scheme: XKit platform: ios
.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcscheme
diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcschemedeleted file mode 100644index dd6227d..0000000--- a/.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcscheme+++ /dev/null@@ -1,67 +0,0 @@-<?xml version="1.0" encoding="UTF-8"?>-<Scheme- LastUpgradeVersion = "1410"- version = "1.3">- <BuildAction- parallelizeBuildables = "YES"- buildImplicitDependencies = "YES">- <BuildActionEntries>- <BuildActionEntry- buildForTesting = "YES"- buildForRunning = "YES"- buildForProfiling = "YES"- buildForArchiving = "YES"- buildForAnalyzing = "YES">- <BuildableReference- BuildableIdentifier = "primary"- BlueprintIdentifier = "Supersign"- BuildableName = "Supersign"- BlueprintName = "Supersign"- ReferencedContainer = "container:">- </BuildableReference>- </BuildActionEntry>- </BuildActionEntries>- </BuildAction>- <TestAction- buildConfiguration = "Debug"- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"- shouldUseLaunchSchemeArgsEnv = "YES">- <Testables>- </Testables>- </TestAction>- <LaunchAction- buildConfiguration = "Debug"- selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"- selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"- launchStyle = "0"- useCustomWorkingDirectory = "NO"- ignoresPersistentStateOnLaunch = "NO"- debugDocumentVersioning = "YES"- debugServiceExtension = "internal"- allowLocationSimulation = "YES">- </LaunchAction>- <ProfileAction- buildConfiguration = "Release"- shouldUseLaunchSchemeArgsEnv = "YES"- savedToolIdentifier = ""- useCustomWorkingDirectory = "NO"- debugDocumentVersioning = "YES">- <MacroExpansion>- <BuildableReference- BuildableIdentifier = "primary"- BlueprintIdentifier = "Supersign"- BuildableName = "Supersign"- BlueprintName = "Supersign"- ReferencedContainer = "container:">- </BuildableReference>- </MacroExpansion>- </ProfileAction>- <AnalyzeAction- buildConfiguration = "Debug">- </AnalyzeAction>- <ArchiveAction- buildConfiguration = "Release"- revealArchiveInOrganizer = "YES">- </ArchiveAction>-</Scheme>
Dockerfile
diff --git a/Dockerfile b/Dockerfileindex b3f51e2..a95d750 100644--- a/Dockerfile+++ b/Dockerfile@@ -92,6 +92,6 @@ ENV APPIMAGE_EXTRACT_AND_RUN=1 # socat -dd TCP-LISTEN:27015,range=127.0.0.1/32,reuseaddr,fork UNIX-CLIENT:/var/run/usbmuxd ENV USBMUXD_SOCKET_ADDRESS=host.docker.internal:27015 -WORKDIR /Supersign+WORKDIR /xtool ENTRYPOINT [ "/bin/bash" ]
Linux/README.md
diff --git a/Linux/README.md b/Linux/README.mdindex 09029aa..ef5911e 100644--- a/Linux/README.md+++ b/Linux/README.md@@ -1,6 +1,6 @@-# Supersign + Linux = <3+# xtool + Linux = <3 -Supersign currently uses AppImage to build its Linux CLI. It is possible to build and run the AppImage on a native Linux host, as well as through Docker (natively or through Docker Desktop on macOS).+xtool currently uses AppImage to build its Linux CLI. It is possible to build and run the AppImage on a native Linux host, as well as through Docker (natively or through Docker Desktop on macOS). ## Setup @@ -10,9 +10,9 @@ Make sure `usbmuxd` is installed on your host machine. On macOS, `usbmuxd` is pr You can build and run a container with standard Docker Compose commands, for example: ```-docker compose run --rm supersign+docker compose run --rm xtool ``` -This will spawn a shell inside the container. The Supersign root directory will be bind-mounted at `/Supersign`.+This will spawn a shell inside the container. The xtool root directory will be bind-mounted at `/xtool`. To actually access iOS devices from inside Docker, you'll also need to forward the host's `usbmuxd` to a port which the Docker container's libusbmuxd will connect to. Keep this command running on your host machine: ```@@ -21,4 +21,4 @@ socat -dd TCP-LISTEN:27015,range=127.0.0.1/32,reuseaddr,fork UNIX-CLIENT:/var/ru ## Building -Simply run `./build.sh` in this directory. This will output an AppImage to `packages/Supersign.AppImage`, which can directly be invoked.+Simply run `./build.sh` in this directory. This will output an AppImage to `packages/xtool.AppImage`, which can directly be invoked.
Linux/build.sh
diff --git a/Linux/build.sh b/Linux/build.shindex 66b65db..a595689 100755--- a/Linux/build.sh+++ b/Linux/build.sh@@ -16,9 +16,9 @@ fi rm -rf staging/tmp mkdir -p staging/tmp staging/linuxdeploy -swift build --package-path .. -c release --product SupersignCLI --static-swift-stdlib+swift build --package-path .. -c release --product xtool --static-swift-stdlib bin="$(swift build --package-path .. -c release --show-bin-path)"-strip "${bin}/SupersignCLI"+strip "${bin}/xtool" curr_git_info="$(curl -fsSL https://api.github.com/repos/linuxdeploy/linuxdeploy/git/refs/tags/continuous)" @@ -42,14 +42,14 @@ fi mkdir -p staging/tmp/AppDir/usr/bin find "${bin}"/ -name '*.resources' -print0 | xargs -0 -I {} cp -a {} "${PWD}/staging/tmp/AppDir/usr/bin/" -LDAI_OUTPUT="staging/tmp/Supersign.AppImage" ./staging/linuxdeploy/linuxdeploy.AppImage \+LDAI_OUTPUT="staging/tmp/xtool.AppImage" ./staging/linuxdeploy/linuxdeploy.AppImage \ --appdir staging/tmp/AppDir \ --output appimage \- -e "${bin}/SupersignCLI" \- -d Supersign.desktop \- -i Supersign.png+ -e "${bin}/xtool" \+ -d xtool.desktop \+ -i xtool.png mkdir -p packages-mv -f staging/tmp/Supersign.AppImage packages/Supersign.AppImage+mv -f staging/tmp/xtool.AppImage packages/xtool.AppImage rm -rf staging/tmp
Linux/xtool.desktop
diff --git a/Linux/Supersign.desktop b/Linux/xtool.desktopsimilarity index 67%rename from Linux/Supersign.desktoprename to Linux/xtool.desktopindex 9938068..a2449df 100644--- a/Linux/Supersign.desktop+++ b/Linux/xtool.desktop@@ -1,9 +1,9 @@ [Desktop Entry] Version=1.0 Type=Application-Name=Supersign+Name=xtool Categories=Development;-Exec=SupersignCLI-Icon=Supersign+Exec=xtool+Icon=xtool # TODO: remove Terminal=true
Linux/xtool.png
diff --git a/Linux/Supersign.png b/Linux/xtool.pngsimilarity index 100%rename from Linux/Supersign.pngrename to Linux/xtool.png
Package.swift
diff --git a/Package.swift b/Package.swiftindex c18073d..e2b73e9 100644--- a/Package.swift+++ b/Package.swift@@ -22,8 +22,8 @@ let package = Package( targets: ["XToolSupport"] ), .executable(- name: "SupersignCLI",- targets: ["SupersignCLI"]+ name: "xtool",+ targets: ["xtool"] ), ], dependencies: [@@ -153,7 +153,7 @@ let package = Package( ] ), .executableTarget(- name: "SupersignCLI",+ name: "xtool", dependencies: [ "SwiftyMobileDevice", "XKit",
README.md
diff --git a/README.md b/README.mdindex aab1d88..6612e36 100644--- a/README.md+++ b/README.md@@ -1,22 +1,22 @@-# Supersign+# xtool An all-in-one tool/library for sideloading iOS apps and talking to Apple Developer Services. Supports macOS and Linux. ## Prerequisites -- Supersign works out of the box on macOS.+- xtool works out of the box on macOS. - On Linux, you'll need the development packages of [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice) + its dependencies. - Alternatively, we provide a Dockerfile that does this for you. See [Linux/README.md](/Linux/README.md). ## Installation (CLI) ```bash-$ git clone https://github.com/SuperchargeApp/Supersign-$ cd Supersign-$ swift run SupersignCLI --help-OVERVIEW: The Supersign command line tool+$ git clone https://github.com/xtool-org/xtool+$ cd xtool+$ swift run xtool --help+OVERVIEW: The xtool command line interface -USAGE: supersign <subcommand>+USAGE: xtool <subcommand> OPTIONS: -h, --help Show help information.@@ -28,16 +28,16 @@ SUBCOMMANDS: uninstall Uninstall an installed app run Run an installed app - See 'supersign help <subcommand>' for detailed help.+ See 'xtool help <subcommand>' for detailed help. ``` ## Installation (Library) -Just add it as a SwiftPM dependency!+Just add `XKit` as a SwiftPM dependency! ```swift // package dependency:-.package(url: "https://github.com/SuperchargeApp/Supersign", .upToNextMinor(from: "1.2.0"))+.package(url: "https://github.com/xtool-org/xtool", .upToNextMinor(from: "1.2.0")) // target dependency:-.product(name: "Supersign", package: "Supersign")+.product(name: "XKit", package: "xtool") ```
Sources/CXKit/include/mobileprovision.h
diff --git a/Sources/CXKit/include/mobileprovision.h b/Sources/CXKit/include/mobileprovision.hindex d06d6ee..c8e33e4 100644--- a/Sources/CXKit/include/mobileprovision.h+++ b/Sources/CXKit/include/mobileprovision.h@@ -1,6 +1,6 @@ // // mobileprovision_utils.h-// supersign+// XKit // // Created by Kabir Oberai on 05/07/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/CXKit/mobileprovision.c
diff --git a/Sources/CXKit/mobileprovision.c b/Sources/CXKit/mobileprovision.cindex aa98cb6..33d8b29 100644--- a/Sources/CXKit/mobileprovision.c+++ b/Sources/CXKit/mobileprovision.c@@ -1,6 +1,6 @@ // // mobileprovision_utils.c-// supersign+// XKit // // Created by Kabir Oberai on 05/07/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/PackLib/PackSchema.swift
diff --git a/Sources/PackLib/PackSchema.swift b/Sources/PackLib/PackSchema.swiftindex b375a94..954a855 100644--- a/Sources/PackLib/PackSchema.swift+++ b/Sources/PackLib/PackSchema.swift@@ -38,7 +38,7 @@ public struct PackSchema: Sendable { self.base = base if base.version != .v1 {- throw StringError("supersign.yml: Unsupported schema version: \(base.version.rawValue)")+ throw StringError("xtool.yml: Unsupported schema version: \(base.version.rawValue)") } switch (base.bundleID, base.orgID) {@@ -47,13 +47,13 @@ public struct PackSchema: Sendable { case (nil, let orgID?): idSpecifier = .orgID(orgID) case (nil, nil):- throw StringError("supersign.yml: Must specify either orgID or bundleID")+ throw StringError("xtool.yml: Must specify either orgID or bundleID") } if let iconPath = base.iconPath { let ext = URL(fileURLWithPath: iconPath).pathExtension guard ext == "png" else {- throw StringError("supersign.yml: iconPath should have a 'png' path extension. Got '\(ext)'.")+ throw StringError("xtool.yml: iconPath should have a 'png' path extension. Got '\(ext)'.") } } }
Sources/PackLib/Packer.swift
diff --git a/Sources/PackLib/Packer.swift b/Sources/PackLib/Packer.swiftindex 4ad2370..a81f9ac 100644--- a/Sources/PackLib/Packer.swift+++ b/Sources/PackLib/Packer.swift@@ -10,8 +10,8 @@ public struct Packer: Sendable { } private func build() async throws {- let supersignDir = URL(fileURLWithPath: "supersign")- let packageDir = supersignDir.appendingPathComponent(".supersign-tmp")+ let xtoolDir = URL(fileURLWithPath: "xtool")+ let packageDir = xtoolDir.appendingPathComponent(".xtool-tmp") try? FileManager.default.removeItem(at: packageDir) try FileManager.default.createDirectory(at: packageDir, withIntermediateDirectories: true) @@ -150,7 +150,7 @@ public struct Packer: Sendable { } } - let dest = URL(fileURLWithPath: "supersign")+ let dest = URL(fileURLWithPath: "xtool") .appendingPathComponent(output.url.lastPathComponent) try? FileManager.default.removeItem(at: dest) try output.persist(at: dest)
Sources/PackLib/Planner.swift
diff --git a/Sources/PackLib/Planner.swift b/Sources/PackLib/Planner.swiftindex 29f3b7d..ccfdb59 100644--- a/Sources/PackLib/Planner.swift+++ b/Sources/PackLib/Planner.swift@@ -196,7 +196,7 @@ public struct Planner: Sendable { throw StringError(""" Multiple library products were found (\(products.map(\.name))). Please either: 1) Expose exactly one library product, or- 2) Specify the product you want via the 'product' key in supersign.yml.+ 2) Specify the product you want via the 'product' key in xtool.yml. """) } guard let product = products.first(where: { $0.name == name }) else {
Sources/PackLib/XcodePacker.swift
diff --git a/Sources/PackLib/XcodePacker.swift b/Sources/PackLib/XcodePacker.swiftindex 37abdc4..1a56d28 100644--- a/Sources/PackLib/XcodePacker.swift+++ b/Sources/PackLib/XcodePacker.swift@@ -16,10 +16,10 @@ public struct XcodePacker { public func createProject() async throws -> URL { let targetName = "\(plan.product)-App" - let supersignDir: Path = "supersign"+ let xtoolDir: Path = "xtool" - let projectDir: Path = supersignDir + ".supersign-tmp"- try? supersignDir.delete()+ let projectDir: Path = xtoolDir + ".xtool-tmp"+ try? xtoolDir.delete() try projectDir.mkpath() let infoPath = projectDir + "Info.plist"@@ -86,7 +86,7 @@ public struct XcodePacker { let generator = ProjectGenerator(project: project) let xcodeproj = projectDir + "\(plan.product).xcodeproj"- let xcworkspace = supersignDir + "\(plan.product).xcworkspace"+ let xcworkspace = xtoolDir + "\(plan.product).xcworkspace" do { let current = Path.current Path.current = xcodeproj.parent()
Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift
diff --git a/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift b/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swiftindex 9581fc5..b13e1a5 100644--- a/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift +++ b/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift @@ -1,6 +1,6 @@ // // DeveloperServicesAssignAppGroupsOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift
diff --git a/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift b/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swiftindex e1c198d..b7f9045 100644--- a/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift +++ b/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift @@ -1,6 +1,6 @@ // // DeveloperServicesAddAppOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift
diff --git a/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift b/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swiftindex 07572bc..1efdb22 100644--- a/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift +++ b/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift @@ -1,6 +1,6 @@ // // EntitlementWithTeamOrBundleID.swift-// Supersign+// XKit // // Created by Kabir Oberai on 12/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift
diff --git a/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift b/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swiftindex f811178..fd0e97f 100644--- a/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift+++ b/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift@@ -1,6 +1,6 @@ // // DeveloperServicesFetchCertificateOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift b/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swiftindex e834110..8cd9530 100644--- a/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift+++ b/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift@@ -1,6 +1,6 @@ // // DeveloperServicesAPIVersion.swift-// Supersign+// XKit // // Created by Kabir Oberai on 10/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift b/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swiftindex 809a281..6d2dcad 100644--- a/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift+++ b/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift@@ -1,6 +1,6 @@ // // DeveloperServicesLoginManager.swift-// Supersign+// XKit // // Created by Kabir Oberai on 10/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift b/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swiftindex 6945027..2b69ea2 100644--- a/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift+++ b/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift@@ -1,6 +1,6 @@ // // DeveloperServicesOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift b/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swiftindex c6daff1..0654725 100644--- a/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift+++ b/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift@@ -1,6 +1,6 @@ // // DeveloperServicesProvisioningOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 12/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift
diff --git a/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift b/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swiftindex ff488e0..b5cbc8d 100644--- a/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift+++ b/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift@@ -1,6 +1,6 @@ // // DeveloperServicesFetchDeviceOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift
diff --git a/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift b/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swiftindex 03c196a..acff5dd 100644--- a/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift+++ b/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift@@ -1,6 +1,6 @@ // // DeveloperServicesFetchProfileOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Anisette/AnisetteData.swift
diff --git a/Sources/XKit/GrandSlam/Anisette/AnisetteData.swift b/Sources/XKit/GrandSlam/Anisette/AnisetteData.swiftindex 6ce2975..4d93d31 100644--- a/Sources/XKit/GrandSlam/Anisette/AnisetteData.swift+++ b/Sources/XKit/GrandSlam/Anisette/AnisetteData.swift@@ -1,6 +1,6 @@ // // AnisetteData.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift
diff --git a/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift b/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swiftindex 8b6794e..474bbb0 100644--- a/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift+++ b/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift@@ -1,6 +1,6 @@ // // AnisetteDataProvider.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift
diff --git a/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift b/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swiftindex ae4288b..ce916d9 100644--- a/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift+++ b/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift@@ -1,6 +1,6 @@ // // DeviceInfo+Fetching.swift-// Supersign+// XKit // // Created by Kabir Oberai on 18/06/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift
diff --git a/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift b/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swiftindex d9eb32c..e64e2ad 100644--- a/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift+++ b/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift@@ -1,6 +1,6 @@ // // DeviceInfo.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift
diff --git a/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift b/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swiftindex 200eacb..a8c0dc2 100644--- a/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift+++ b/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift@@ -1,6 +1,6 @@ // // LocalAnisetteDataProviders.swift-// Supersign+// XKit // // Created by Kabir Oberai on 29/06/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Crypto/AppTokens.swift
diff --git a/Sources/XKit/GrandSlam/Crypto/AppTokens.swift b/Sources/XKit/GrandSlam/Crypto/AppTokens.swiftindex 530bda5..e0b1ffe 100644--- a/Sources/XKit/GrandSlam/Crypto/AppTokens.swift+++ b/Sources/XKit/GrandSlam/Crypto/AppTokens.swift@@ -1,6 +1,6 @@ // // AppTokens.swift-// Supersign+// XKit // // Created by Kabir Oberai on 11/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Crypto/SRPClient.swift
diff --git a/Sources/XKit/GrandSlam/Crypto/SRPClient.swift b/Sources/XKit/GrandSlam/Crypto/SRPClient.swiftindex 1e0828c..20b26af 100644--- a/Sources/XKit/GrandSlam/Crypto/SRPClient.swift+++ b/Sources/XKit/GrandSlam/Crypto/SRPClient.swift@@ -1,6 +1,6 @@ // // SRPClient.swift-// Supersign+// XKit // // Created by Kabir Oberai on 11/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/GrandSlamClient.swift
diff --git a/Sources/XKit/GrandSlam/GrandSlamClient.swift b/Sources/XKit/GrandSlam/GrandSlamClient.swiftindex f44682c..2c17236 100644--- a/Sources/XKit/GrandSlam/GrandSlamClient.swift+++ b/Sources/XKit/GrandSlam/GrandSlamClient.swift@@ -1,6 +1,6 @@ // // GrandSlamClient.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift
diff --git a/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift b/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swiftindex a6bb7a8..3ae6b77 100644--- a/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift+++ b/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift@@ -1,6 +1,6 @@ // // GrandSlamEndpoints.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift
diff --git a/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift b/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swiftindex f3c5304..3cabcb7 100644--- a/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift+++ b/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift@@ -1,6 +1,6 @@ // // GrandSlamLookupManager.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift b/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swiftindex d892197..ff1926c 100644--- a/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift+++ b/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift@@ -1,6 +1,6 @@ // // GrandSlamAuthEndpoint.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift b/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swiftindex 85c0d8a..8bb5b38 100644--- a/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift+++ b/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift@@ -1,6 +1,6 @@ // // GrandSlamAuthProtocol.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift b/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swiftindex 9a4454c..006bacd 100644--- a/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift+++ b/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift@@ -1,6 +1,6 @@ // // GrandSlamLoginData.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swiftindex a92ef02..41405e5 100644--- a/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift+++ b/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift@@ -1,6 +1,6 @@ // // GrandSlamAuthenticateOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swiftindex ae2d5d8..9a26383 100644--- a/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift+++ b/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift@@ -1,6 +1,6 @@ // // GrandSlamFetchAppTokensOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swiftindex 6299c41..a3a39d9 100644--- a/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift+++ b/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift@@ -1,6 +1,6 @@ // // GrandSlamTwoFactorAuthenticateOperation.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swiftindex 086aa49..d1f4d11 100644--- a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamAppTokensRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swiftindex 8aa8723..1dcd2b1 100644--- a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamAuthCompleteRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swiftindex 7b523c4..6ef4e3f 100644--- a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamAuthInitRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swiftindex dc8c721..28123a9 100644--- a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamTrustedDeviceRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swiftindex 50411cc..9a116bf 100644--- a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamValidateRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swiftindex ef4196a..ca30b7d 100644--- a/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamOperationRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swiftindex 5e76b1b..db05d5a 100644--- a/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 19/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swiftindex 653da60..305d4a1 100644--- a/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift+++ b/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift@@ -1,6 +1,6 @@ // // GrandSlamTwoFactorRequest.swift-// Supersign+// XKit // // Created by Kabir Oberai on 20/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/AppInstaller.swift
diff --git a/Sources/XKit/Installation/AppInstaller.swift b/Sources/XKit/Installation/AppInstaller.swiftindex 60deea9..b39a6c9 100644--- a/Sources/XKit/Installation/AppInstaller.swift+++ b/Sources/XKit/Installation/AppInstaller.swift@@ -1,6 +1,6 @@ // // AppInstaller.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.@@ -77,7 +77,7 @@ public actor AppInstaller { // serial queue private let installQueue = DispatchQueue(- label: "com.kabiroberai.Supersign.install-queue"+ label: "com.kabiroberai.xtool.install-queue" ) public let ipa: URL
Sources/XKit/Installation/Connection.swift
diff --git a/Sources/XKit/Installation/Connection.swift b/Sources/XKit/Installation/Connection.swiftindex 4fa20c1..bfe0845 100644--- a/Sources/XKit/Installation/Connection.swift+++ b/Sources/XKit/Installation/Connection.swift@@ -1,6 +1,6 @@ // // Connection.swift-// Supersign+// XKit // // Created by Kabir Oberai on 15/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.@@ -68,7 +68,7 @@ public actor Connection { let preferences: Preferences } - private static let label = "supersign"+ private static let label = "xtool" private static let pool = WeakPool<ConnectionDescriptor, Connection, Error>() private var handle: AnyObject?
Sources/XKit/Installation/DDIMounter.swift
diff --git a/Sources/XKit/Installation/DDIMounter.swift b/Sources/XKit/Installation/DDIMounter.swiftindex 3ff6242..8c898e2 100644--- a/Sources/XKit/Installation/DDIMounter.swift+++ b/Sources/XKit/Installation/DDIMounter.swift@@ -2,7 +2,7 @@ // // DDIMounter.swift-// Supersign+// XKit // // Created by Kabir Oberai on 25/03/21. // Copyright © 2021 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/Debugger.swift
diff --git a/Sources/XKit/Installation/Debugger.swift b/Sources/XKit/Installation/Debugger.swiftindex 97f4987..69477fe 100644--- a/Sources/XKit/Installation/Debugger.swift+++ b/Sources/XKit/Installation/Debugger.swift@@ -1,6 +1,6 @@ // // Debugger.swift-// Supersign+// XKit // // Created by Kabir Oberai on 26/03/21. // Copyright © 2021 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/HeartbeatHandler.swift
diff --git a/Sources/XKit/Installation/HeartbeatHandler.swift b/Sources/XKit/Installation/HeartbeatHandler.swiftindex b0b71ff..58f4de5 100644--- a/Sources/XKit/Installation/HeartbeatHandler.swift+++ b/Sources/XKit/Installation/HeartbeatHandler.swift@@ -1,6 +1,6 @@ // // HeartbeatHandler.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/IPAInstaller.swift
diff --git a/Sources/XKit/Installation/IPAInstaller.swift b/Sources/XKit/Installation/IPAInstaller.swiftindex af2f4dd..9ffb283 100644--- a/Sources/XKit/Installation/IPAInstaller.swift+++ b/Sources/XKit/Installation/IPAInstaller.swift@@ -1,6 +1,6 @@ // // IPAInstaller.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/IPAUploader.swift
diff --git a/Sources/XKit/Installation/IPAUploader.swift b/Sources/XKit/Installation/IPAUploader.swiftindex 1824d95..379b2be 100644--- a/Sources/XKit/Installation/IPAUploader.swift+++ b/Sources/XKit/Installation/IPAUploader.swift@@ -1,6 +1,6 @@ // // IPAUploader.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Installation/ProfileManager.swift
diff --git a/Sources/XKit/Installation/ProfileManager.swift b/Sources/XKit/Installation/ProfileManager.swiftindex ca83479..36dea36 100644--- a/Sources/XKit/Installation/ProfileManager.swift+++ b/Sources/XKit/Installation/ProfileManager.swift@@ -1,6 +1,6 @@ // // ProfileManager.swift-// Supersign+// XKit // // Created by Kabir Oberai on 25/03/21. // Copyright © 2021 Kabir Oberai. All rights reserved.
Sources/XKit/Integration/SuperchargeInstaller.swift
diff --git a/Sources/XKit/Integration/SuperchargeInstaller.swift b/Sources/XKit/Integration/SuperchargeInstaller.swiftindex 6cea107..d62b7b1 100644--- a/Sources/XKit/Integration/SuperchargeInstaller.swift+++ b/Sources/XKit/Integration/SuperchargeInstaller.swift@@ -12,7 +12,7 @@ import ConcurrencyExtras import Dependencies extension LockdownClient {- static let installerLabel = "supersign"+ static let installerLabel = "xtool" } #if !os(iOS)
Sources/XKit/Signer/Signer.swift
diff --git a/Sources/XKit/Signer/Signer.swift b/Sources/XKit/Signer/Signer.swiftindex 83f9883..2da321d 100644--- a/Sources/XKit/Signer/Signer.swift+++ b/Sources/XKit/Signer/Signer.swift@@ -1,6 +1,6 @@ // // Signer.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Signer/SignerImpl.swift
diff --git a/Sources/XKit/Signer/SignerImpl.swift b/Sources/XKit/Signer/SignerImpl.swiftindex d321fc5..9f9d087 100644--- a/Sources/XKit/Signer/SignerImpl.swift+++ b/Sources/XKit/Signer/SignerImpl.swift@@ -1,6 +1,6 @@ // // SignerImpl.swift-// Supersign+// XKit // // Created by Kabir Oberai on 10/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Signer/SigningContext.swift
diff --git a/Sources/XKit/Signer/SigningContext.swift b/Sources/XKit/Signer/SigningContext.swiftindex 4ece266..0e226c7 100644--- a/Sources/XKit/Signer/SigningContext.swift+++ b/Sources/XKit/Signer/SigningContext.swift@@ -1,6 +1,6 @@ // // SigningContext.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Utilities/CHelpers.swift
diff --git a/Sources/XKit/Utilities/CHelpers.swift b/Sources/XKit/Utilities/CHelpers.swiftindex d2741f4..afd1e8e 100644--- a/Sources/XKit/Utilities/CHelpers.swift+++ b/Sources/XKit/Utilities/CHelpers.swift@@ -1,6 +1,6 @@ // // CHelpers.swift-// Supersign+// XKit // // Created by Kabir Oberai on 13/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Utilities/KeyValueStorage.swift
diff --git a/Sources/XKit/Utilities/KeyValueStorage.swift b/Sources/XKit/Utilities/KeyValueStorage.swiftindex 76bd42a..607c442 100644--- a/Sources/XKit/Utilities/KeyValueStorage.swift+++ b/Sources/XKit/Utilities/KeyValueStorage.swift@@ -1,6 +1,6 @@ // // KeyValueStorage.swift-// Supersign+// XKit // // Created by Kabir Oberai on 08/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.
Sources/XKit/Utilities/ProvisioningIdentifiers.swift
diff --git a/Sources/XKit/Utilities/ProvisioningIdentifiers.swift b/Sources/XKit/Utilities/ProvisioningIdentifiers.swiftindex 0a897a7..6b43945 100644--- a/Sources/XKit/Utilities/ProvisioningIdentifiers.swift+++ b/Sources/XKit/Utilities/ProvisioningIdentifiers.swift@@ -1,6 +1,6 @@ // // ProvisioningIdentifiers.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Utilities/RequestGrouper.swift
diff --git a/Sources/XKit/Utilities/RequestGrouper.swift b/Sources/XKit/Utilities/RequestGrouper.swiftindex 4a2439f..cc7d163 100644--- a/Sources/XKit/Utilities/RequestGrouper.swift+++ b/Sources/XKit/Utilities/RequestGrouper.swift@@ -1,6 +1,6 @@ // // RequestGrouper.swift-// Supersign+// XKit // // Created by Kabir Oberai on 14/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XKit/Utilities/SigningInfo.swift
diff --git a/Sources/XKit/Utilities/SigningInfo.swift b/Sources/XKit/Utilities/SigningInfo.swiftindex b4b4dd2..2791e01 100644--- a/Sources/XKit/Utilities/SigningInfo.swift+++ b/Sources/XKit/Utilities/SigningInfo.swift@@ -1,6 +1,6 @@ // // SigningInfo.swift-// Supersign+// XKit // // Created by Kabir Oberai on 12/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Sources/XToolSupport/AuthCommand.swift
diff --git a/Sources/XToolSupport/AuthCommand.swift b/Sources/XToolSupport/AuthCommand.swiftindex aae40d8..c968a27 100644--- a/Sources/XToolSupport/AuthCommand.swift+++ b/Sources/XToolSupport/AuthCommand.swift@@ -90,7 +90,7 @@ struct AuthOperation { print("Logging in...") - let authDelegate = SupersignCLIAuthDelegate()+ let authDelegate = XToolAuthDelegate() let manager = DeveloperServicesLoginManager() let token = try await manager.logIn( withUsername: username,@@ -152,7 +152,7 @@ struct AuthLogoutCommand: AsyncParsableCommand { help: ArgumentHelp( "Reset 2-factor authentication data", discussion: """- This resets the "pseudo-device" that Supersign presents itself as \+ This resets the "pseudo-device" that xtool presents itself as \ when authenticating with Apple using the password login mode. Effectively, this means you will be prompted to complete 2-factor \
Sources/XToolSupport/AuthToken.swift
diff --git a/Sources/XToolSupport/AuthToken.swift b/Sources/XToolSupport/AuthToken.swiftindex c610a8c..a23a049 100644--- a/Sources/XToolSupport/AuthToken.swift+++ b/Sources/XToolSupport/AuthToken.swift@@ -49,7 +49,7 @@ extension AuthToken { static func saved() throws -> Self { guard let data = try storage.data(forKey: "SUPAuthToken") else {- throw Console.Error("Please log in with `supersign ds login` before running this command.")+ throw Console.Error("Please log in with `xtool auth` before running this command.") } return try decoder.decode(AuthToken.self, from: data) }
Sources/XToolSupport/DevCommands/DevCommand.swift
diff --git a/Sources/XToolSupport/DevCommands/DevCommand.swift b/Sources/XToolSupport/DevCommands/DevCommand.swiftindex ffe1db9..1a866b2 100644--- a/Sources/XToolSupport/DevCommands/DevCommand.swift+++ b/Sources/XToolSupport/DevCommands/DevCommand.swift@@ -6,11 +6,11 @@ import XKit struct DevSetupCommand: AsyncParsableCommand { static let configuration = CommandConfiguration( commandName: "setup",- abstract: "Set up Supersign for iOS development",+ abstract: "Set up xtool for iOS development", discussion: """ Authenticates with Apple if needed, then adds the iOS SDK to SwiftPM. - Equivalent to running `supersign auth && supersign dev sdk`+ Equivalent to running `xtool auth && xtool dev sdk` """ ) @@ -74,7 +74,7 @@ struct PackOperation { print("Planning...") let schema: PackSchema- let configPath = URL(fileURLWithPath: "supersign.yml")+ let configPath = URL(fileURLWithPath: "xtool.yml") if FileManager.default.fileExists(atPath: configPath.path) { schema = try await PackSchema(url: configPath) } else {@@ -160,7 +160,7 @@ struct DevRunCommand: AsyncParsableCommand { let client = try await connectionOptions.client() print("Installing to device: \(client.deviceName) (udid: \(client.udid))") - let installDelegate = SupersignCLIDelegate()+ let installDelegate = XToolInstallerDelegate() let installer = IntegratedInstaller( udid: client.udid, lookupMode: .only(client.connectionType),
Sources/XToolSupport/DevCommands/DevNewCommand.swift
diff --git a/Sources/XToolSupport/DevCommands/DevNewCommand.swift b/Sources/XToolSupport/DevCommands/DevNewCommand.swiftindex ae63955..504486d 100644--- a/Sources/XToolSupport/DevCommands/DevNewCommand.swift+++ b/Sources/XToolSupport/DevCommands/DevNewCommand.swift@@ -14,7 +14,7 @@ struct DevNewCommand: AsyncParsableCommand { help: ArgumentHelp( "Skip setup steps. (default: false)", discussion: """- By default, this command first invokes `supersign dev setup` to complete \+ By default, this command first invokes `xtool dev setup` to complete \ any missing setup steps, like authenticating and installing the SDK. Use \ this flag to always skip setup. """@@ -79,7 +79,7 @@ struct DevNewCommand: AsyncParsableCommand { .macOS(.v14), ], products: [- // A Supersign project should contain exactly one library target,+ // An xtool project should contain exactly one library target, // representing the main app. .library( name: "\(moduleName)",@@ -96,7 +96,7 @@ struct DevNewCommand: AsyncParsableCommand { ), (- "supersign.yml",+ "xtool.yml", """ version: 1 bundleID: com.example.\(name)@@ -115,7 +115,7 @@ struct DevNewCommand: AsyncParsableCommand { .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata .netrc - /supersign+ /xtool /.sourcekit-lsp """ ),@@ -179,6 +179,6 @@ struct DevNewCommand: AsyncParsableCommand { print("\nFinished generating project \(name). Next steps:") print("- Enter the directory with `cd \(name)`")- print("- Build and run with `supersign dev`")+ print("- Build and run with `xtool dev`") } }
Sources/XToolSupport/InstallCommand.swift
diff --git a/Sources/XToolSupport/InstallCommand.swift b/Sources/XToolSupport/InstallCommand.swiftindex 3c84394..b0f4c9b 100644--- a/Sources/XToolSupport/InstallCommand.swift+++ b/Sources/XToolSupport/InstallCommand.swift@@ -22,7 +22,7 @@ struct InstallCommand: AsyncParsableCommand { print("Installing to device: \(client.deviceName) (udid: \(client.udid))") - let installDelegate = SupersignCLIDelegate()+ let installDelegate = XToolInstallerDelegate() let installer = IntegratedInstaller( udid: client.udid, lookupMode: .only(client.connectionType),
Sources/XToolSupport/RunCommand.swift
diff --git a/Sources/XToolSupport/RunCommand.swift b/Sources/XToolSupport/RunCommand.swiftindex 78a152a..9c28524 100644--- a/Sources/XToolSupport/RunCommand.swift+++ b/Sources/XToolSupport/RunCommand.swift@@ -25,7 +25,7 @@ struct RunCommand: AsyncParsableCommand { func run() async throws { let client = try await connectionOptions.client() - let installProxy = try InstallationProxyClient(device: client.device, label: "supersign-inst")+ let installProxy = try InstallationProxyClient(device: client.device, label: "xtool-inst") let executable: URL do { executable = try installProxy.executable(forBundleID: bundleID)@@ -35,7 +35,7 @@ struct RunCommand: AsyncParsableCommand { print("Launching \(executable.lastPathComponent)...") - let debugserver = try DebugserverClient(device: client.device, label: "supersign")+ let debugserver = try DebugserverClient(device: client.device, label: "xtool") guard try debugserver.launch(executable: executable, arguments: args) == "OK" else { throw Console.Error("Launch failed (!OK)") }
Sources/XToolSupport/SuperchargeCommand.swift
diff --git a/Sources/XToolSupport/SuperchargeCommand.swift b/Sources/XToolSupport/SuperchargeCommand.swiftdeleted file mode 100644index b7a9f1d..0000000--- a/Sources/XToolSupport/SuperchargeCommand.swift+++ /dev/null@@ -1,65 +0,0 @@-import Foundation-import XKit-import ArgumentParser--#if false--struct InstallSuperchargeCommand: AsyncParsableCommand {- static let configuration = CommandConfiguration(- commandName: "install",- abstract: "Install Supercharge"- )-- @OptionGroup var connectionOptions: ConnectionOptions.WithoutSearchMode-- func run() async throws {- guard let app = SupersignCLI.config.superchargeApp else {- throw Console.Error("This copy of Supersign is not configured to install Supercharge.")- }-- let auth = try AuthToken.saved()-- let client = try await connectionOptions.client(searchMode: .usb)-- print("Installing to device: \(client.deviceName) (udid: \(client.udid))")-- let installDelegate = SupersignCLIDelegate()- let installer = IntegratedInstaller(- udid: client.udid,- lookupMode: .only(client.connectionType),- appleID: auth.appleID,- token: auth.dsToken,- teamID: auth.teamID,- configureDevice: true,- storage: SupersignCLI.config.storage,- delegate: installDelegate- )-- do {- let bundleID = try await installer.install(app: app)- print("\nSuccessfully installed!")- if let file = ProcessInfo.processInfo.environment["SUPERSIGN_METADATA_FILE"] {- do {- try Data("\(bundleID)\n".utf8).write(to: URL(fileURLWithPath: file))- } catch {- print("warning: Failed to write metadata to SUPERSIGN_METADATA_FILE: \(error)")- }- }- } catch {- print("\nFailed :(")- print("Error: \(error)")- return- }- }-}--struct SuperchargeCommand: ParsableCommand {- static let configuration = CommandConfiguration(- commandName: "supercharge",- abstract: "Configure/install Supercharge",- subcommands: [InstallSuperchargeCommand.self],- defaultSubcommand: InstallSuperchargeCommand.self- )-}--#endif
Sources/XToolSupport/UninstallCommand.swift
diff --git a/Sources/XToolSupport/UninstallCommand.swift b/Sources/XToolSupport/UninstallCommand.swiftindex 86112aa..57aae09 100644--- a/Sources/XToolSupport/UninstallCommand.swift+++ b/Sources/XToolSupport/UninstallCommand.swift@@ -17,7 +17,7 @@ struct UninstallCommand: AsyncParsableCommand { func run() async throws { let client = try await connectionOptions.client()- let installProxy = try InstallationProxyClient(device: client.device, label: "supersign-inst")+ let installProxy = try InstallationProxyClient(device: client.device, label: "xtool-inst") do { try await installProxy.uninstall( bundleID: bundleID,
Sources/XToolSupport/XToolCommand.swift
diff --git a/Sources/XToolSupport/SupersignCommand.swift b/Sources/XToolSupport/XToolCommand.swiftsimilarity index 87%rename from Sources/XToolSupport/SupersignCommand.swiftrename to Sources/XToolSupport/XToolCommand.swiftindex 1687e8b..fe7a303 100644--- a/Sources/XToolSupport/SupersignCommand.swift+++ b/Sources/XToolSupport/XToolCommand.swift@@ -2,16 +2,16 @@ import Foundation import XKit import ArgumentParser -public enum SupersignCLI {+public enum XTool { public static func run(arguments: [String]? = nil) async throws {- await SupersignCommand.cancellableMain(arguments)+ await XToolCommand.cancellableMain(arguments) } } -struct SupersignCommand: AsyncParsableCommand {+struct XToolCommand: AsyncParsableCommand { static let configuration = CommandConfiguration(- commandName: "supersign",- abstract: "The Supersign command line tool",+ commandName: "xtool",+ abstract: "The xtool command line interface", subcommands: [ AuthCommand.self, DSCommand.self,
Sources/XToolSupport/XToolInstallerDelegate.swift
diff --git a/Sources/XToolSupport/SupersignCLIDelegate.swift b/Sources/XToolSupport/XToolInstallerDelegate.swiftsimilarity index 95%rename from Sources/XToolSupport/SupersignCLIDelegate.swiftrename to Sources/XToolSupport/XToolInstallerDelegate.swiftindex 89eda4e..1c5bcc5 100644--- a/Sources/XToolSupport/SupersignCLIDelegate.swift+++ b/Sources/XToolSupport/XToolInstallerDelegate.swift@@ -2,13 +2,13 @@ import Foundation import XKit import ConcurrencyExtras -final class SupersignCLIAuthDelegate: TwoFactorAuthDelegate {+final class XToolAuthDelegate: TwoFactorAuthDelegate { func fetchCode() async -> String? { try? await Console.prompt("Code: ") } } -actor SupersignCLIDelegate: IntegratedInstallerDelegate {+actor XToolInstallerDelegate: IntegratedInstallerDelegate { init() {} private let updateTask = LockIsolated<Task<Void, Never>?>(nil)
Sources/xtool/Documentation.docc/Control.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Control.md b/Sources/xtool/Documentation.docc/Control.mdsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Control.mdrename to Sources/xtool/Documentation.docc/Control.md
Sources/xtool/Documentation.docc/Documentation.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Documentation.md b/Sources/xtool/Documentation.docc/Documentation.mdsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Documentation.mdrename to Sources/xtool/Documentation.docc/Documentation.md
Sources/xtool/Documentation.docc/First-app-code/build-1a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-1a.sh b/Sources/xtool/Documentation.docc/First-app-code/build-1a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-1a.shrename to Sources/xtool/Documentation.docc/First-app-code/build-1a.sh
Sources/xtool/Documentation.docc/First-app-code/build-1b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-1b.sh b/Sources/xtool/Documentation.docc/First-app-code/build-1b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-1b.shrename to Sources/xtool/Documentation.docc/First-app-code/build-1b.sh
Sources/xtool/Documentation.docc/First-app-code/build-2.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-2.sh b/Sources/xtool/Documentation.docc/First-app-code/build-2.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-2.shrename to Sources/xtool/Documentation.docc/First-app-code/build-2.sh
Sources/xtool/Documentation.docc/First-app-code/build-3.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-3.sh b/Sources/xtool/Documentation.docc/First-app-code/build-3.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-3.shrename to Sources/xtool/Documentation.docc/First-app-code/build-3.sh
Sources/xtool/Documentation.docc/First-app-code/edit-2.swift
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/edit-2.swift b/Sources/xtool/Documentation.docc/First-app-code/edit-2.swiftsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/edit-2.swiftrename to Sources/xtool/Documentation.docc/First-app-code/edit-2.swift
Sources/xtool/Documentation.docc/First-app-code/edit-4.swift
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/edit-4.swift b/Sources/xtool/Documentation.docc/First-app-code/edit-4.swiftsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/edit-4.swiftrename to Sources/xtool/Documentation.docc/First-app-code/edit-4.swift
Sources/xtool/Documentation.docc/First-app-code/rerun-5a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5a.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-5a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5a.shrename to Sources/xtool/Documentation.docc/First-app-code/rerun-5a.sh
Sources/xtool/Documentation.docc/First-app-code/rerun-5b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5b.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-5b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5b.shrename to Sources/xtool/Documentation.docc/First-app-code/rerun-5b.sh
Sources/xtool/Documentation.docc/First-app-code/rerun-6.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-6.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-6.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-6.shrename to Sources/xtool/Documentation.docc/First-app-code/rerun-6.sh
Sources/xtool/Documentation.docc/First-app-code/template-1a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-1a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-1a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-1a.shrename to Sources/xtool/Documentation.docc/First-app-code/template-1a.sh
Sources/xtool/Documentation.docc/First-app-code/template-1b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-1b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-1b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-1b.shrename to Sources/xtool/Documentation.docc/First-app-code/template-1b.sh
Sources/xtool/Documentation.docc/First-app-code/template-2a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-2a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-2a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-2a.shrename to Sources/xtool/Documentation.docc/First-app-code/template-2a.sh
Sources/xtool/Documentation.docc/First-app-code/template-2b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-2b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-2b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-2b.shrename to Sources/xtool/Documentation.docc/First-app-code/template-2b.sh
Sources/xtool/Documentation.docc/First-app-code/template-3a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-3a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-3a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-3a.shrename to Sources/xtool/Documentation.docc/First-app-code/template-3a.sh
Sources/xtool/Documentation.docc/First-app-code/template-3b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-3b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-3b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-3b.shrename to Sources/xtool/Documentation.docc/First-app-code/template-3b.sh
Sources/xtool/Documentation.docc/First-app-code/template-4a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-4a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-4a.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-4a.shrename to Sources/xtool/Documentation.docc/First-app-code/template-4a.sh
Sources/xtool/Documentation.docc/First-app-code/template-4b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-4b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-4b.shsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-4b.shrename to Sources/xtool/Documentation.docc/First-app-code/template-4b.sh
Sources/xtool/Documentation.docc/First-app.tutorial
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app.tutorial b/Sources/xtool/Documentation.docc/First-app.tutorialsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/First-app.tutorialrename to Sources/xtool/Documentation.docc/First-app.tutorial
Sources/xtool/Documentation.docc/Installation-Linux.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Installation-Linux.md b/Sources/xtool/Documentation.docc/Installation-Linux.mdsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Installation-Linux.mdrename to Sources/xtool/Documentation.docc/Installation-Linux.md
Sources/xtool/Documentation.docc/Installation-macOS.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Installation-macOS.md b/Sources/xtool/Documentation.docc/Installation-macOS.mdsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Installation-macOS.mdrename to Sources/xtool/Documentation.docc/Installation-macOS.md
Sources/xtool/Documentation.docc/Resources/Autocomplete.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Autocomplete.png b/Sources/xtool/Documentation.docc/Resources/Autocomplete.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Autocomplete.pngrename to Sources/xtool/Documentation.docc/Resources/Autocomplete.png
Sources/xtool/Documentation.docc/Resources/Developer.PNG
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Developer.PNG b/Sources/xtool/Documentation.docc/Resources/Developer.PNGsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Developer.PNGrename to Sources/xtool/Documentation.docc/Resources/Developer.PNG
Sources/xtool/Documentation.docc/Resources/HelloWorld-Purple.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld-Purple.png b/Sources/xtool/Documentation.docc/Resources/HelloWorld-Purple.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld-Purple.pngrename to Sources/xtool/Documentation.docc/Resources/HelloWorld-Purple.png
Sources/xtool/Documentation.docc/Resources/HelloWorld.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld.png b/Sources/xtool/Documentation.docc/Resources/HelloWorld.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld.pngrename to Sources/xtool/Documentation.docc/Resources/HelloWorld.png
Sources/xtool/Documentation.docc/Resources/Home.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Home.png b/Sources/xtool/Documentation.docc/Resources/Home.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Home.pngrename to Sources/xtool/Documentation.docc/Resources/Home.png
Sources/xtool/Documentation.docc/Resources/Hover.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Hover.png b/Sources/xtool/Documentation.docc/Resources/Hover.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Hover.pngrename to Sources/xtool/Documentation.docc/Resources/Hover.png
Sources/xtool/Documentation.docc/Resources/Hover2.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Hover2.png b/Sources/xtool/Documentation.docc/Resources/Hover2.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Hover2.pngrename to Sources/xtool/Documentation.docc/Resources/Hover2.png
Sources/xtool/Documentation.docc/Resources/SwiftExtension.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/SwiftExtension.png b/Sources/xtool/Documentation.docc/Resources/SwiftExtension.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/SwiftExtension.pngrename to Sources/xtool/Documentation.docc/Resources/SwiftExtension.png
Sources/xtool/Documentation.docc/Resources/Trust.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Trust.png b/Sources/xtool/Documentation.docc/Resources/Trust.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Trust.pngrename to Sources/xtool/Documentation.docc/Resources/Trust.png
Sources/xtool/Documentation.docc/Resources/UntrustedDev.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/UntrustedDev.png b/Sources/xtool/Documentation.docc/Resources/UntrustedDev.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/UntrustedDev.pngrename to Sources/xtool/Documentation.docc/Resources/UntrustedDev.png
Sources/xtool/Documentation.docc/Resources/Verified.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Verified.png b/Sources/xtool/Documentation.docc/Resources/Verified.pngsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/Resources/Verified.pngrename to Sources/xtool/Documentation.docc/Resources/Verified.png
Sources/xtool/Documentation.docc/ToC.tutorial
diff --git a/Sources/SupersignCLI/Documentation.docc/ToC.tutorial b/Sources/xtool/Documentation.docc/ToC.tutorialsimilarity index 100%rename from Sources/SupersignCLI/Documentation.docc/ToC.tutorialrename to Sources/xtool/Documentation.docc/ToC.tutorial
Sources/xtool/XTool.swift
diff --git a/Sources/SupersignCLI/SupersignCLI.swift b/Sources/xtool/XTool.swiftsimilarity index 91%rename from Sources/SupersignCLI/SupersignCLI.swiftrename to Sources/xtool/XTool.swiftindex 6ac4479..042dfdd 100644--- a/Sources/SupersignCLI/SupersignCLI.swift+++ b/Sources/xtool/XTool.swift@@ -5,7 +5,7 @@ import Dependencies @_documentation(visibility: private) @main-enum SupersignCLIMain {+enum XToolMain { static func main() async throws { prepareDependencies { dependencies in #warning("Improve persistence mechanism")@@ -17,6 +17,6 @@ enum SupersignCLIMain { // dependencies.keyValueStorage = KeychainStorage(service: "com.kabiroberai.Supercharge-Keychain.credentials") // #endif }- try await SupersignCLI.run()+ try await XTool.run() } }
Tests/XKitTests/Tests/XKitDeveloperServicesTests.swift
diff --git a/Tests/XKitTests/Tests/SupersignDeveloperServicesTests.swift b/Tests/XKitTests/Tests/XKitDeveloperServicesTests.swiftsimilarity index 94%rename from Tests/XKitTests/Tests/SupersignDeveloperServicesTests.swiftrename to Tests/XKitTests/Tests/XKitDeveloperServicesTests.swiftindex dfd8159..ab1b874 100644--- a/Tests/XKitTests/Tests/SupersignDeveloperServicesTests.swift+++ b/Tests/XKitTests/Tests/XKitDeveloperServicesTests.swift@@ -1,6 +1,6 @@ //-// SupersignDeveloperServicesTests.swift-// SupersignTests+// XKitDeveloperServicesTests.swift+// XKitTests // // Created by Kabir Oberai on 30/10/19. // Copyright © 2019 Kabir Oberai. All rights reserved.@@ -12,7 +12,7 @@ import XKit // swiftlint:disable force_try -class SupersignDeveloperServicesTests: XCTestCase {+class XKitDeveloperServicesTests: XCTestCase { var storage: KeyValueStorage! var client: DeveloperServicesClient!
Tests/XKitTests/Tests/XKitGrandSlamTests.swift
diff --git a/Tests/XKitTests/Tests/SupersignGrandSlamTests.swift b/Tests/XKitTests/Tests/XKitGrandSlamTests.swiftsimilarity index 94%rename from Tests/XKitTests/Tests/SupersignGrandSlamTests.swiftrename to Tests/XKitTests/Tests/XKitGrandSlamTests.swiftindex 7003523..af9f92d 100644--- a/Tests/XKitTests/Tests/SupersignGrandSlamTests.swift+++ b/Tests/XKitTests/Tests/XKitGrandSlamTests.swift@@ -1,6 +1,6 @@ //-// SupersignGrandSlamTests.swift-// SupersignTests+// XKitGrandSlamTests.swift+// XKitTests // // Created by Kabir Oberai on 10/04/20. // Copyright © 2020 Kabir Oberai. All rights reserved.@@ -19,7 +19,7 @@ final class TwoFactorAuthenticator: TwoFactorAuthDelegate { } } -class SupersignGrandSlamTests: XCTestCase {+class XKitGrandSlamTests: XCTestCase { var authenticator: TwoFactorAuthenticator! var storage: KeyValueStorage!
Tests/XKitTests/Tests/XKitSigningTests.swift
diff --git a/Tests/XKitTests/Tests/SupersignSigningTests.swift b/Tests/XKitTests/Tests/XKitSigningTests.swiftsimilarity index 96%rename from Tests/XKitTests/Tests/SupersignSigningTests.swiftrename to Tests/XKitTests/Tests/XKitSigningTests.swiftindex 216d3ef..bdfead8 100644--- a/Tests/XKitTests/Tests/SupersignSigningTests.swift+++ b/Tests/XKitTests/Tests/XKitSigningTests.swift@@ -1,6 +1,6 @@ //-// SupersignSigningTests.swift-// SupersignTests+// XKitSigningTests.swift+// XKitTests // // Created by Kabir Oberai on 06/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.@@ -14,7 +14,7 @@ import XCTest import SuperutilsTestSupport import XKit -class SupersignSigningTests: XCTestCase {+class XKitSigningTests: XCTestCase { var client: DeveloperServicesClient! var signerImpl: SignerImpl!
Tests/XKitTests/Utilities/Config.swift
diff --git a/Tests/XKitTests/Utilities/Config.swift b/Tests/XKitTests/Utilities/Config.swiftindex 5de2ec2..a85bcd8 100644--- a/Tests/XKitTests/Utilities/Config.swift+++ b/Tests/XKitTests/Utilities/Config.swift@@ -1,6 +1,6 @@ // // Config.swift-// SupersignTests+// XKitTests // // Created by Kabir Oberai on 05/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift
diff --git a/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift b/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swiftindex a0db352..03b6b1f 100644--- a/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift+++ b/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift@@ -1,6 +1,6 @@ // // DeveloperServicesTestClient.swift-// SupersignTests+// XKitTests // // Created by Kabir Oberai on 06/11/19. // Copyright © 2019 Kabir Oberai. All rights reserved.
docker-compose.yml
diff --git a/docker-compose.yml b/docker-compose.ymlindex 47f53d1..8a9dfa8 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -1,10 +1,10 @@ services:- supersign:+ xtool: build: context: . volumes:- - .:/Supersign- container_name: supersign+ - .:/xtool+ container_name: xtool stdin_open: true tty: true cap_add: