diff --git a/Package.resolved b/Package.resolved index 957128f8..ce33a7b2 100644 --- a/Package.resolved +++ b/Package.resolved @@ -30,7 +30,7 @@ }, { "package": "Roxas", - "repositoryURL": "https://github.com/JoeMatt/Roxas.git", + "repositoryURL": "https://github.com/SideStore/Roxas.git", "state": { "branch": "swiftpm", "revision": "fe142efb8b3e0330802aba3f44f508f712c0679f", diff --git a/Package.swift b/Package.swift index 16e9f2e3..e532dabc 100644 --- a/Package.swift +++ b/Package.swift @@ -47,6 +47,9 @@ let package = Package( // .library(name: "DangerDeps[SideStore]", type: .dynamic, targets: ["DangerDependencies"]), // dev .library(name: "SideStore", targets: ["SideStore", "SideStore-ObjC"]), .library(name: "AltStoreCore", targets: ["AltStoreCore"]), + .library(name: "libimobiledevice", targets: ["libimobiledevice"]), + .library(name: "EmotionalDamage", targets: ["EmotionalDamage"]), + .library(name: "minimuxer", targets: ["minimuxer"]), ], .library(name: "Danger", targets: ["Danger"]), .library(name: "DangerFixtures", targets: ["DangerFixtures"]), @@ -64,10 +67,46 @@ let package = Package( ] + devDependencies, targets: [ // .target(name: "DangerDependencies", dependencies: ["Danger", "DangerPlugin"], path: "Dependencies/Danger"), // dev - .target(name: "SideStore", dependencies: ["SideStore-ObjC", "AltStoreCore"], path: "AltStore", exclude: ["Operations/Patch App/ALTAppPatcher.m"]), - .target(name: "SideStore-ObjC", dependencies: ["Roxas"], path: "AltStore", sources: ["Operations/Patch App/ALTAppPatcher.m"], publicHeadersPath: "Operations/Patch App/"), - .target(name: "AltStoreCore", dependencies: ["AltStoreCore-ObjC"], path: "AltStoreCore", exclude: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"]), - .target(name: "AltStoreCore-ObjC", dependencies: ["Roxas"], path: "AltStoreCore", sources: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"], publicHeadersPath: "Types"), + .target(name: "SideStore", + dependencies: ["SideStore-ObjC", "AltStoreCore", "EmotionalDamage", "libimobiledevice", "minimuxer", "em_proxy"], + path: "AltStore", + exclude: ["Operations/Patch App/ALTAppPatcher.m"]), + + .target(name: "SideStore-ObjC", + dependencies: ["Roxas"], + path: "AltStore", + sources: ["Operations/Patch App/ALTAppPatcher.m"], + publicHeadersPath: "Operations/Patch App/"), + + .target(name: "AltStoreCore", + dependencies: ["AltStoreCore-ObjC"], + path: "AltStoreCore", + exclude: [ + "Types/ALTAppPermission.m", + "Types/ALTPatreonBenefitType.m", + "Types/ALTSourceUserInfoKey.m" + ]), + + .target(name: "AltStoreCore-ObjC", + dependencies: ["Roxas"], + path: "AltStoreCore", + sources: ["Types/ALTAppPermission.m", "Types/ALTPatreonBenefitType.m", "Types/ALTSourceUserInfoKey.m"], + publicHeadersPath: "Types"), + + .target(name: "EmotionalDamage", + dependencies: [""], + path: "EmotionalDamage"), + + .target(name: "libimobiledevice", + dependencies: [""], + path: "Dependencies/libimobiledevice/src", + publicHeadersPath: "Dependencies/libimobiledevice/include/libimobiledevice"), + + .binaryTarget( name: "minimuxer", + path: "Dependencies/minimuxer/target/release/minimuxer.xcframework"), + + .binaryTarget( name: "em_proxy", + path: "Dependencies/em_proxy/target/release/em_proxy.xcframework"), // name: "SideStore", // // dependencies: [