Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Rename main product

Kabir Oberai6778e66e55c6
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 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
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml
index 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
diff --git a/.spi.yml b/.spi.yml
index 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
diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/Supersign.xcscheme
deleted file mode 100644
index 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>
diff --git a/Dockerfile b/Dockerfile
index 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" ]
diff --git a/Linux/README.md b/Linux/README.md
index 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.
diff --git a/Linux/build.sh b/Linux/build.sh
index 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
diff --git a/Linux/Supersign.desktop b/Linux/xtool.desktop
similarity index 67%
rename from Linux/Supersign.desktop
rename to Linux/xtool.desktop
index 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
diff --git a/Linux/Supersign.png b/Linux/xtool.png
similarity index 100%
rename from Linux/Supersign.png
rename to Linux/xtool.png
diff --git a/Package.swift b/Package.swift
index 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",
diff --git a/README.md b/README.md
index 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")
```
diff --git a/Sources/CXKit/include/mobileprovision.h b/Sources/CXKit/include/mobileprovision.h
index 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.
diff --git a/Sources/CXKit/mobileprovision.c b/Sources/CXKit/mobileprovision.c
index 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.
diff --git a/Sources/PackLib/PackSchema.swift b/Sources/PackLib/PackSchema.swift
index 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)'.")
}
}
}
diff --git a/Sources/PackLib/Packer.swift b/Sources/PackLib/Packer.swift
index 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)
diff --git a/Sources/PackLib/Planner.swift b/Sources/PackLib/Planner.swift
index 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 {
diff --git a/Sources/PackLib/XcodePacker.swift b/Sources/PackLib/XcodePacker.swift
index 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()
diff --git a/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift b/Sources/XKit/DeveloperServices/App Groups/DeveloperServicesAssignAppGroupsOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift b/Sources/XKit/DeveloperServices/App IDs/DeveloperServicesAddAppOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift b/Sources/XKit/DeveloperServices/App IDs/Entitlements/EntitlementWithTeamOrBundleID.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift b/Sources/XKit/DeveloperServices/Certificates/DeveloperServicesFetchCertificateOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift b/Sources/XKit/DeveloperServices/DeveloperServicesAPIVersion.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift b/Sources/XKit/DeveloperServices/DeveloperServicesLoginManager.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift b/Sources/XKit/DeveloperServices/DeveloperServicesOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift b/Sources/XKit/DeveloperServices/DeveloperServicesProvisioningOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift b/Sources/XKit/DeveloperServices/Devices/DeveloperServicesFetchDeviceOperation.swift
index 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.
diff --git a/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift b/Sources/XKit/DeveloperServices/Profiles/DeveloperServicesFetchProfileOperation.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Anisette/AnisetteData.swift b/Sources/XKit/GrandSlam/Anisette/AnisetteData.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift b/Sources/XKit/GrandSlam/Anisette/AnisetteDataProvider.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift b/Sources/XKit/GrandSlam/Anisette/DeviceInfo+Fetching.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift b/Sources/XKit/GrandSlam/Anisette/DeviceInfo.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift b/Sources/XKit/GrandSlam/Anisette/LocalAnisetteDataProviders.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Crypto/AppTokens.swift b/Sources/XKit/GrandSlam/Crypto/AppTokens.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Crypto/SRPClient.swift b/Sources/XKit/GrandSlam/Crypto/SRPClient.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/GrandSlamClient.swift b/Sources/XKit/GrandSlam/GrandSlamClient.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift b/Sources/XKit/GrandSlam/Lookup/GrandSlamEndpoints.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift b/Sources/XKit/GrandSlam/Lookup/GrandSlamLookupManager.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift b/Sources/XKit/GrandSlam/Model/GrandSlamAuthEndpoint.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift b/Sources/XKit/GrandSlam/Model/GrandSlamAuthProtocol.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift b/Sources/XKit/GrandSlam/Model/GrandSlamLoginData.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamAuthenticateOperation.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamFetchAppTokensOperation.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift b/Sources/XKit/GrandSlam/Operations/GrandSlamTwoFactorAuthenticateOperation.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAppTokensRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthCompleteRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamAuthInitRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamTrustedDeviceRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift b/Sources/XKit/GrandSlam/Requests/Concrete/GrandSlamValidateRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamOperationRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamRequest.swift
index 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.
diff --git a/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift b/Sources/XKit/GrandSlam/Requests/GrandSlamTwoFactorRequest.swift
index 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.
diff --git a/Sources/XKit/Installation/AppInstaller.swift b/Sources/XKit/Installation/AppInstaller.swift
index 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
diff --git a/Sources/XKit/Installation/Connection.swift b/Sources/XKit/Installation/Connection.swift
index 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?
diff --git a/Sources/XKit/Installation/DDIMounter.swift b/Sources/XKit/Installation/DDIMounter.swift
index 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.
diff --git a/Sources/XKit/Installation/Debugger.swift b/Sources/XKit/Installation/Debugger.swift
index 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.
diff --git a/Sources/XKit/Installation/HeartbeatHandler.swift b/Sources/XKit/Installation/HeartbeatHandler.swift
index 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.
diff --git a/Sources/XKit/Installation/IPAInstaller.swift b/Sources/XKit/Installation/IPAInstaller.swift
index 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.
diff --git a/Sources/XKit/Installation/IPAUploader.swift b/Sources/XKit/Installation/IPAUploader.swift
index 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.
diff --git a/Sources/XKit/Installation/ProfileManager.swift b/Sources/XKit/Installation/ProfileManager.swift
index 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.
diff --git a/Sources/XKit/Integration/SuperchargeInstaller.swift b/Sources/XKit/Integration/SuperchargeInstaller.swift
index 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)
diff --git a/Sources/XKit/Signer/Signer.swift b/Sources/XKit/Signer/Signer.swift
index 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.
diff --git a/Sources/XKit/Signer/SignerImpl.swift b/Sources/XKit/Signer/SignerImpl.swift
index 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.
diff --git a/Sources/XKit/Signer/SigningContext.swift b/Sources/XKit/Signer/SigningContext.swift
index 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.
diff --git a/Sources/XKit/Utilities/CHelpers.swift b/Sources/XKit/Utilities/CHelpers.swift
index 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.
diff --git a/Sources/XKit/Utilities/KeyValueStorage.swift b/Sources/XKit/Utilities/KeyValueStorage.swift
index 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.
diff --git a/Sources/XKit/Utilities/ProvisioningIdentifiers.swift b/Sources/XKit/Utilities/ProvisioningIdentifiers.swift
index 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.
diff --git a/Sources/XKit/Utilities/RequestGrouper.swift b/Sources/XKit/Utilities/RequestGrouper.swift
index 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.
diff --git a/Sources/XKit/Utilities/SigningInfo.swift b/Sources/XKit/Utilities/SigningInfo.swift
index 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.
diff --git a/Sources/XToolSupport/AuthCommand.swift b/Sources/XToolSupport/AuthCommand.swift
index 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 \
diff --git a/Sources/XToolSupport/AuthToken.swift b/Sources/XToolSupport/AuthToken.swift
index 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)
}
diff --git a/Sources/XToolSupport/DevCommands/DevCommand.swift b/Sources/XToolSupport/DevCommands/DevCommand.swift
index 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),
diff --git a/Sources/XToolSupport/DevCommands/DevNewCommand.swift b/Sources/XToolSupport/DevCommands/DevNewCommand.swift
index 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`")
}
}
diff --git a/Sources/XToolSupport/InstallCommand.swift b/Sources/XToolSupport/InstallCommand.swift
index 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),
diff --git a/Sources/XToolSupport/RunCommand.swift b/Sources/XToolSupport/RunCommand.swift
index 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)")
}
diff --git a/Sources/XToolSupport/SuperchargeCommand.swift b/Sources/XToolSupport/SuperchargeCommand.swift
deleted file mode 100644
index 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
diff --git a/Sources/XToolSupport/UninstallCommand.swift b/Sources/XToolSupport/UninstallCommand.swift
index 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,
diff --git a/Sources/XToolSupport/SupersignCommand.swift b/Sources/XToolSupport/XToolCommand.swift
similarity index 87%
rename from Sources/XToolSupport/SupersignCommand.swift
rename to Sources/XToolSupport/XToolCommand.swift
index 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,
diff --git a/Sources/XToolSupport/SupersignCLIDelegate.swift b/Sources/XToolSupport/XToolInstallerDelegate.swift
similarity index 95%
rename from Sources/XToolSupport/SupersignCLIDelegate.swift
rename to Sources/XToolSupport/XToolInstallerDelegate.swift
index 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)
diff --git a/Sources/SupersignCLI/Documentation.docc/Control.md b/Sources/xtool/Documentation.docc/Control.md
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Control.md
rename to Sources/xtool/Documentation.docc/Control.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Documentation.md b/Sources/xtool/Documentation.docc/Documentation.md
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Documentation.md
rename to Sources/xtool/Documentation.docc/Documentation.md
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-1a.sh b/Sources/xtool/Documentation.docc/First-app-code/build-1a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-1a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/build-1a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-1b.sh b/Sources/xtool/Documentation.docc/First-app-code/build-1b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-1b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/build-1b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-2.sh b/Sources/xtool/Documentation.docc/First-app-code/build-2.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-2.sh
rename to Sources/xtool/Documentation.docc/First-app-code/build-2.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/build-3.sh b/Sources/xtool/Documentation.docc/First-app-code/build-3.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/build-3.sh
rename to Sources/xtool/Documentation.docc/First-app-code/build-3.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/edit-2.swift b/Sources/xtool/Documentation.docc/First-app-code/edit-2.swift
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/edit-2.swift
rename to Sources/xtool/Documentation.docc/First-app-code/edit-2.swift
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/edit-4.swift b/Sources/xtool/Documentation.docc/First-app-code/edit-4.swift
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/edit-4.swift
rename to Sources/xtool/Documentation.docc/First-app-code/edit-4.swift
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5a.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-5a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/rerun-5a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5b.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-5b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-5b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/rerun-5b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-6.sh b/Sources/xtool/Documentation.docc/First-app-code/rerun-6.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/rerun-6.sh
rename to Sources/xtool/Documentation.docc/First-app-code/rerun-6.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-1a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-1a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-1a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-1a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-1b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-1b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-1b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-1b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-2a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-2a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-2a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-2a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-2b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-2b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-2b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-2b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-3a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-3a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-3a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-3a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-3b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-3b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-3b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-3b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-4a.sh b/Sources/xtool/Documentation.docc/First-app-code/template-4a.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-4a.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-4a.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app-code/template-4b.sh b/Sources/xtool/Documentation.docc/First-app-code/template-4b.sh
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app-code/template-4b.sh
rename to Sources/xtool/Documentation.docc/First-app-code/template-4b.sh
diff --git a/Sources/SupersignCLI/Documentation.docc/First-app.tutorial b/Sources/xtool/Documentation.docc/First-app.tutorial
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/First-app.tutorial
rename to Sources/xtool/Documentation.docc/First-app.tutorial
diff --git a/Sources/SupersignCLI/Documentation.docc/Installation-Linux.md b/Sources/xtool/Documentation.docc/Installation-Linux.md
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Installation-Linux.md
rename to Sources/xtool/Documentation.docc/Installation-Linux.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Installation-macOS.md b/Sources/xtool/Documentation.docc/Installation-macOS.md
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Installation-macOS.md
rename to Sources/xtool/Documentation.docc/Installation-macOS.md
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Autocomplete.png b/Sources/xtool/Documentation.docc/Resources/Autocomplete.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Autocomplete.png
rename to Sources/xtool/Documentation.docc/Resources/Autocomplete.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Developer.PNG b/Sources/xtool/Documentation.docc/Resources/Developer.PNG
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Developer.PNG
rename to Sources/xtool/Documentation.docc/Resources/Developer.PNG
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld-Purple.png b/Sources/xtool/Documentation.docc/Resources/HelloWorld-Purple.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld-Purple.png
rename to Sources/xtool/Documentation.docc/Resources/HelloWorld-Purple.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld.png b/Sources/xtool/Documentation.docc/Resources/HelloWorld.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/HelloWorld.png
rename to Sources/xtool/Documentation.docc/Resources/HelloWorld.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Home.png b/Sources/xtool/Documentation.docc/Resources/Home.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Home.png
rename to Sources/xtool/Documentation.docc/Resources/Home.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Hover.png b/Sources/xtool/Documentation.docc/Resources/Hover.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Hover.png
rename to Sources/xtool/Documentation.docc/Resources/Hover.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Hover2.png b/Sources/xtool/Documentation.docc/Resources/Hover2.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Hover2.png
rename to Sources/xtool/Documentation.docc/Resources/Hover2.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/SwiftExtension.png b/Sources/xtool/Documentation.docc/Resources/SwiftExtension.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/SwiftExtension.png
rename to Sources/xtool/Documentation.docc/Resources/SwiftExtension.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Trust.png b/Sources/xtool/Documentation.docc/Resources/Trust.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Trust.png
rename to Sources/xtool/Documentation.docc/Resources/Trust.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/UntrustedDev.png b/Sources/xtool/Documentation.docc/Resources/UntrustedDev.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/UntrustedDev.png
rename to Sources/xtool/Documentation.docc/Resources/UntrustedDev.png
diff --git a/Sources/SupersignCLI/Documentation.docc/Resources/Verified.png b/Sources/xtool/Documentation.docc/Resources/Verified.png
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/Resources/Verified.png
rename to Sources/xtool/Documentation.docc/Resources/Verified.png
diff --git a/Sources/SupersignCLI/Documentation.docc/ToC.tutorial b/Sources/xtool/Documentation.docc/ToC.tutorial
similarity index 100%
rename from Sources/SupersignCLI/Documentation.docc/ToC.tutorial
rename to Sources/xtool/Documentation.docc/ToC.tutorial
diff --git a/Sources/SupersignCLI/SupersignCLI.swift b/Sources/xtool/XTool.swift
similarity index 91%
rename from Sources/SupersignCLI/SupersignCLI.swift
rename to Sources/xtool/XTool.swift
index 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()
}
}
diff --git a/Tests/XKitTests/Tests/SupersignDeveloperServicesTests.swift b/Tests/XKitTests/Tests/XKitDeveloperServicesTests.swift
similarity index 94%
rename from Tests/XKitTests/Tests/SupersignDeveloperServicesTests.swift
rename to Tests/XKitTests/Tests/XKitDeveloperServicesTests.swift
index 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!
diff --git a/Tests/XKitTests/Tests/SupersignGrandSlamTests.swift b/Tests/XKitTests/Tests/XKitGrandSlamTests.swift
similarity index 94%
rename from Tests/XKitTests/Tests/SupersignGrandSlamTests.swift
rename to Tests/XKitTests/Tests/XKitGrandSlamTests.swift
index 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!
diff --git a/Tests/XKitTests/Tests/SupersignSigningTests.swift b/Tests/XKitTests/Tests/XKitSigningTests.swift
similarity index 96%
rename from Tests/XKitTests/Tests/SupersignSigningTests.swift
rename to Tests/XKitTests/Tests/XKitSigningTests.swift
index 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!
diff --git a/Tests/XKitTests/Utilities/Config.swift b/Tests/XKitTests/Utilities/Config.swift
index 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.
diff --git a/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift b/Tests/XKitTests/Utilities/DeveloperServicesClient+Testing.swift
index 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.
diff --git a/docker-compose.yml b/docker-compose.yml
index 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: