From 0b3e651c4bdaccc7eacc60690f952a959f8890a9 Mon Sep 17 00:00:00 2001 From: Joseph Mattello Date: Tue, 7 Jun 2022 03:14:34 -0400 Subject: [PATCH] keychain access as swift module Signed-off-by: Joseph Mattello --- AltStore.xcodeproj/project.pbxproj | 33 +++++++++++++------ .../xcshareddata/swiftpm/Package.resolved | 9 +++++ 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj index c8189b9f..117ca10f 100644 --- a/AltStore.xcodeproj/project.pbxproj +++ b/AltStore.xcodeproj/project.pbxproj @@ -8,6 +8,8 @@ /* Begin PBXBuildFile section */ 19B9B7452845E6DF0076EF69 /* SelectTeamViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */; }; + B39575F5284F29E20080B4FF /* Roxas.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B39575F4284F29E20080B4FF /* Roxas.framework */; }; + B3C395F1284F2DE700DA9E2F /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = B3C395F0284F2DE700DA9E2F /* KeychainAccess */; }; BF02419622F2199300129732 /* RefreshAttemptsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF02419522F2199300129732 /* RefreshAttemptsViewController.swift */; }; BF0241AA22F29CCD00129732 /* UserDefaults+AltServer.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF0241A922F29CCD00129732 /* UserDefaults+AltServer.swift */; }; BF08858322DE795100DE9F1E /* MyAppsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF08858222DE795100DE9F1E /* MyAppsViewController.swift */; }; @@ -462,6 +464,7 @@ /* Begin PBXFileReference section */ 19B9B7442845E6DF0076EF69 /* SelectTeamViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectTeamViewController.swift; sourceTree = ""; }; + B39575F4284F29E20080B4FF /* Roxas.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Roxas.framework; sourceTree = BUILT_PRODUCTS_DIR; }; BF02419522F2199300129732 /* RefreshAttemptsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RefreshAttemptsViewController.swift; sourceTree = ""; }; BF0241A922F29CCD00129732 /* UserDefaults+AltServer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UserDefaults+AltServer.swift"; sourceTree = ""; }; BF08858222DE795100DE9F1E /* MyAppsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyAppsViewController.swift; sourceTree = ""; }; @@ -869,7 +872,9 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + B3C395F1284F2DE700DA9E2F /* KeychainAccess in Frameworks */, BF42345D25102688006D1EB2 /* OpenSSL.xcframework in Frameworks */, + B39575F5284F29E20080B4FF /* Roxas.framework in Frameworks */, BF42345C251024B0006D1EB2 /* AltSign-Static in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -905,13 +910,6 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 4460E048E3AC1C9708C4FA33 /* Pods */ = { - isa = PBXGroup; - children = ( - ); - path = Pods; - sourceTree = ""; - }; BF055B4A233B528B0086DEA9 /* Extensions */ = { isa = PBXGroup; children = ( @@ -1478,7 +1476,6 @@ BFF7C905257844C900E55F36 /* AltXPC */, BFD247852284BB3300981D42 /* Frameworks */, BFD2476B2284B9A500981D42 /* Products */, - 4460E048E3AC1C9708C4FA33 /* Pods */, ); sourceTree = ""; }; @@ -1533,6 +1530,7 @@ BFD247852284BB3300981D42 /* Frameworks */ = { isa = PBXGroup; children = ( + B39575F4284F29E20080B4FF /* Roxas.framework */, D533E8B62727841800A9B5DD /* libAppleArchive.tbd */, BF088D322501A4FF008082D9 /* OpenSSL.xcframework */, BF580497246A3D19008AE704 /* UIKit.framework */, @@ -1937,6 +1935,7 @@ name = AltStoreCore; packageProductDependencies = ( BF42345B251024B0006D1EB2 /* AltSign-Static */, + B3C395F0284F2DE700DA9E2F /* KeychainAccess */, ); productName = AltStoreCore; productReference = BF66EE7E2501AE50007EE018 /* AltStoreCore.framework */; @@ -2070,6 +2069,7 @@ mainGroup = BFD247612284B9A500981D42; packageReferences = ( D58D5F2C26DFE68E00E55E38 /* XCRemoteSwiftPackageReference "LaunchAtLogin" */, + B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */, ); productRefGroup = BFD2476B2284B9A500981D42 /* Products */; projectDirPath = ""; @@ -2990,7 +2990,7 @@ PROVISIONING_PROFILE_SPECIFIER = ""; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = macosx; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; @@ -3025,7 +3025,7 @@ PROVISIONING_PROFILE_SPECIFIER = ""; "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = macosx; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; @@ -3446,6 +3446,14 @@ /* End XCConfigurationList section */ /* Begin XCRemoteSwiftPackageReference section */ + B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */ = { + isa = XCRemoteSwiftPackageReference; + repositoryURL = "https://github.com/kishikawakatsumi/KeychainAccess.git"; + requirement = { + kind = upToNextMajorVersion; + minimumVersion = 4.2.0; + }; + }; D58D5F2C26DFE68E00E55E38 /* XCRemoteSwiftPackageReference "LaunchAtLogin" */ = { isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/sindresorhus/LaunchAtLogin.git"; @@ -3457,6 +3465,11 @@ /* End XCRemoteSwiftPackageReference section */ /* Begin XCSwiftPackageProductDependency section */ + B3C395F0284F2DE700DA9E2F /* KeychainAccess */ = { + isa = XCSwiftPackageProductDependency; + package = B3C395EF284F2DE700DA9E2F /* XCRemoteSwiftPackageReference "KeychainAccess" */; + productName = KeychainAccess; + }; BF088D0E25019ABA008082D9 /* AltSign-Static */ = { isa = XCSwiftPackageProductDependency; productName = "AltSign-Static"; diff --git a/AltStore.xcworkspace/xcshareddata/swiftpm/Package.resolved b/AltStore.xcworkspace/xcshareddata/swiftpm/Package.resolved index 2c4a1843..7f150326 100644 --- a/AltStore.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/AltStore.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,6 +1,15 @@ { "object": { "pins": [ + { + "package": "KeychainAccess", + "repositoryURL": "https://github.com/kishikawakatsumi/KeychainAccess.git", + "state": { + "branch": null, + "revision": "84e546727d66f1adc5439debad16270d0fdd04e7", + "version": "4.2.2" + } + }, { "package": "LaunchAtLogin", "repositoryURL": "https://github.com/sindresorhus/LaunchAtLogin.git",