Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AltServer/Anisette Data/AnisetteDataManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private extension ALTAnisetteData
guard let range = self.deviceDescription.lowercased().range(of: "(" + bundleID.lowercased()) else { return }

var adjustedDescription = self.deviceDescription[..<range.lowerBound]
adjustedDescription += "(com.apple.dt.Xcode/3594.4.19)>"
adjustedDescription += "(com.apple.dt.Xcode/24553)>"

self.deviceDescription = String(adjustedDescription)
}
Expand Down Expand Up @@ -162,7 +162,7 @@ private extension AnisetteDataManager
let deviceModel = ProcessInfo.processInfo.deviceModel ?? "iMac21,1"
let osName = (osVersion.majorVersion < 11) ? "Mac OS X" : "macOS"

let serverFriendlyDescription = "<\(deviceModel)> <\(osName);\(osVersion.stringValue);\(buildVersion)> <com.apple.AuthKit/1 (com.apple.dt.Xcode/3594.4.19)>"
let serverFriendlyDescription = "<\(deviceModel)> <\(osName);\(osVersion.stringValue);\(buildVersion)> <com.apple.AuthKit/1 (com.apple.dt.Xcode/24553)>"

let anisetteData = ALTAnisetteData(machineID: machineID,
oneTimePassword: oneTimePassword,
Expand Down
8 changes: 7 additions & 1 deletion AltServer/Extensions/ProcessInfo+Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ import RegexBuilder
extension ProcessInfo
{
var deviceModel: String? {
let service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice"))
let port: mach_port_t
if #available(macOS 12.0, *) {
port = kIOMainPortDefault
} else {
port = kIOMasterPortDefault
}
let service = IOServiceGetMatchingService(port, IOServiceMatching("IOPlatformExpertDevice"))
defer {
IOObjectRelease(service)
}
Expand Down
6 changes: 3 additions & 3 deletions AltStore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@
D533E8B82727B61400A9B5DD /* fragmentzip.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = fragmentzip.h; sourceTree = "<group>"; };
D533E8BB2727BBEE00A9B5DD /* libfragmentzip.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libfragmentzip.a; path = Dependencies/fragmentzip/libfragmentzip.a; sourceTree = SOURCE_ROOT; };
D533E8BD2727BBF800A9B5DD /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = Dependencies/libcurl/libcurl.a; sourceTree = SOURCE_ROOT; };
D537C85A2AA95066009A1E08 /* libcorecrypto.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcorecrypto.tbd; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/lib/system/libcorecrypto.tbd; sourceTree = DEVELOPER_DIR; };
D537C85A2AA95066009A1E08 /* libcorecrypto.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libcorecrypto.tbd; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk/usr/lib/system/libcorecrypto.tbd; sourceTree = DEVELOPER_DIR; };
D5390C3B2AC3A43900D17E62 /* AddSourceViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddSourceViewController.swift; sourceTree = "<group>"; };
D5399FAD2BE56B030038DDEF /* JoinPatreonViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JoinPatreonViewController.swift; sourceTree = "<group>"; };
D5399FAF2BE56B120038DDEF /* JoinPatreonViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = JoinPatreonViewController.xib; sourceTree = "<group>"; };
Expand Down Expand Up @@ -4292,7 +4292,7 @@
);
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG MARKETPLACE";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SYSTEM_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Dependencies/AltSign/Dependencies\"";
};
Expand Down Expand Up @@ -4355,7 +4355,7 @@
);
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = MARKETPLACE;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
SYSTEM_HEADER_SEARCH_PATHS = "\"$(SRCROOT)/Dependencies/AltSign/Dependencies\"";
Expand Down
3 changes: 3 additions & 0 deletions AltStore.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target 'AltStore' do
use_frameworks!

# Pods for AltStore
pod 'Nuke', '~> 10.0'
pod 'Nuke', :git => 'https://github.com/kean/Nuke.git', :tag => '10.7.1'

end

Expand All @@ -17,7 +17,7 @@ target 'AltServer' do

# Pods for AltServer
pod 'STPrivilegedTask', :git => 'https://github.com/rileytestut/STPrivilegedTask.git'
pod 'Sparkle', '~> 2.3'
pod 'Sparkle', :git => 'https://github.com/sparkle-project/Sparkle.git', :tag => '2.3.2'

end

Expand Down
23 changes: 15 additions & 8 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,27 @@ PODS:
- STPrivilegedTask (1.0.8)

DEPENDENCIES:
- Nuke (~> 10.0)
- Sparkle (~> 2.3)
- Nuke (from `https://github.com/kean/Nuke.git`, tag `10.7.1`)
- Sparkle (from `https://github.com/sparkle-project/Sparkle.git`, tag `2.3.2`)
- STPrivilegedTask (from `https://github.com/rileytestut/STPrivilegedTask.git`)

SPEC REPOS:
trunk:
- Nuke
- Sparkle

EXTERNAL SOURCES:
Nuke:
:git: https://github.com/kean/Nuke.git
:tag: 10.7.1
Sparkle:
:git: https://github.com/sparkle-project/Sparkle.git
:tag: 2.3.2
STPrivilegedTask:
:git: https://github.com/rileytestut/STPrivilegedTask.git

CHECKOUT OPTIONS:
Nuke:
:git: https://github.com/kean/Nuke.git
:tag: 10.7.1
Sparkle:
:git: https://github.com/sparkle-project/Sparkle.git
:tag: 2.3.2
STPrivilegedTask:
:commit: 02ab5081c4f1d7f6a70f5413c88d32dbbea66f4c
:git: https://github.com/rileytestut/STPrivilegedTask.git
Expand All @@ -27,6 +34,6 @@ SPEC CHECKSUMS:
Sparkle: b36a51855e81585a1c38e32e53101d36c00f4304
STPrivilegedTask: 3a3f6add7c567b1be8c326328eb3dd6dc5daed91

PODFILE CHECKSUM: c3f735f2bd43afbd34fff2b719ee9ce81912dd50
PODFILE CHECKSUM: 04ae6c5118bfed43931b1f561066b4cee8167ecf

COCOAPODS: 1.16.2
29 changes: 29 additions & 0 deletions Pods/Local Podspecs/Nuke.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions Pods/Local Podspecs/Sparkle.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 15 additions & 8 deletions Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading