From e19b147962f1883d4bc06f8d8fcbc9b952dd9bbf Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Sun, 16 Nov 2025 03:00:43 +0530 Subject: [PATCH] EMP: added back em_proxy as it was in 0.6.1 --- .gitmodules | 4 + AltStore.xcodeproj/project.pbxproj | 173 ++++++++- .../EmotionalDamage/EmotionalDamage.swift | 18 + SideStore/em_proxy | 1 + SideStore/em_proxy.xcodeproj/project.pbxproj | 343 ++++++++++++++++++ .../xcshareddata/xcschemes/em_proxy.xcscheme | 67 ++++ .../xcshareddata/xcschemes/minimuxer.xcscheme | 67 ++++ 7 files changed, 671 insertions(+), 2 deletions(-) create mode 100644 SideStore/EmotionalDamage/EmotionalDamage.swift create mode 160000 SideStore/em_proxy create mode 100644 SideStore/em_proxy.xcodeproj/project.pbxproj create mode 100644 SideStore/em_proxy.xcodeproj/xcshareddata/xcschemes/em_proxy.xcscheme create mode 100644 SideStore/minimuxer.xcodeproj/xcshareddata/xcschemes/minimuxer.xcscheme diff --git a/.gitmodules b/.gitmodules index d0c3bb12..d182f26f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -50,6 +50,10 @@ path = SideStore/minimuxer url = https://github.com/SideStore/minimuxer branch = master +[submodule "SideStore/em_proxy"] + path = SideStore/em_proxy + url = https://github.com/SideStore/em_proxy + branch = master [submodule "SideStore/libfragmentzip"] path = SideStore/libfragmentzip url = https://github.com/SideStore/libfragmentzip diff --git a/AltStore.xcodeproj/project.pbxproj b/AltStore.xcodeproj/project.pbxproj index d0295bb0..09158c46 100644 --- a/AltStore.xcodeproj/project.pbxproj +++ b/AltStore.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 60; + objectVersion = 70; objects = { /* Begin PBXBuildFile section */ @@ -86,6 +86,8 @@ A83FE36A2EC904FD005ACE9A /* AppCenterAnalytics in Frameworks */ = {isa = PBXBuildFile; productRef = A83FE3692EC904FD005ACE9A /* AppCenterAnalytics */; }; A83FE36C2EC904FD005ACE9A /* AppCenterCrashes in Frameworks */ = {isa = PBXBuildFile; productRef = A83FE36B2EC904FD005ACE9A /* AppCenterCrashes */; }; A83FE3772EC905E3005ACE9A /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = A83FE3762EC905E3005ACE9A /* KeychainAccess */; }; + A83FE3CF2EC9219C005ACE9A /* libem_proxy_static.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A83FE3CE2EC9219C005ACE9A /* libem_proxy_static.a */; }; + A83FE3D42EC92495005ACE9A /* libEmotionalDamage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A83FE3CD2EC9217F005ACE9A /* libEmotionalDamage.a */; }; A859ED5C2D1EE827003DCC58 /* OpenSSL.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = A859ED5B2D1EE80D003DCC58 /* OpenSSL.xcframework */; }; A859ED5D2D1EE827003DCC58 /* OpenSSL.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = A859ED5B2D1EE80D003DCC58 /* OpenSSL.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; A86315DF2D3EB2DE0048FA40 /* ErrorProcessing.swift in Sources */ = {isa = PBXBuildFile; fileRef = A86315DE2D3EB2D80048FA40 /* ErrorProcessing.swift */; }; @@ -480,6 +482,13 @@ remoteGlobalIDString = CA609C732349A560B9642892; remoteInfo = "minimuxer-staticlib"; }; + A83FE3D52EC92495005ACE9A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFD247622284B9A500981D42 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A83FE3C22EC9217F005ACE9A; + remoteInfo = EmotionalDamage; + }; A8A543282D04F0C100D72399 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = B343F886295F7F9B002B1159 /* libfragmentzip.xcodeproj */; @@ -668,6 +677,10 @@ A81BF9E12D84C9E900768940 /* AltStore 17_1.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = "AltStore 17_1.xcdatamodel"; sourceTree = ""; }; A81BF9E22D84CB0C00768940 /* AppPermission17To17_1MigrationPolicy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppPermission17To17_1MigrationPolicy.swift; sourceTree = ""; }; A81BF9E32D84CB0C00768940 /* Source17To17_1MigrationPolicy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Source17To17_1MigrationPolicy.swift; sourceTree = ""; }; + A83FE3A32EC91F35005ACE9A /* em_proxy.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = em_proxy.xcodeproj; sourceTree = ""; }; + A83FE3CD2EC9217F005ACE9A /* libEmotionalDamage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libEmotionalDamage.a; sourceTree = BUILT_PRODUCTS_DIR; }; + A83FE3CE2EC9219C005ACE9A /* libem_proxy_static.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libem_proxy_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; + A83FE3D02EC921B2005ACE9A /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.1.sdk/usr/lib/libresolv.tbd; sourceTree = DEVELOPER_DIR; }; A859ED5B2D1EE80D003DCC58 /* OpenSSL.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:67RAULRX93:Marcin Krzyzanowski"; lastKnownFileType = wrapper.xcframework; name = OpenSSL.xcframework; path = SideStore/AltSign/Dependencies/OpenSSL/Frameworks/OpenSSL.xcframework; sourceTree = ""; }; A85ACB8E2D1F31C400AA3DE7 /* AltBackup.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AltBackup.xcconfig; sourceTree = ""; }; A85ACB8F2D1F31C400AA3DE7 /* AltStore.debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AltStore.debug.xcconfig; sourceTree = ""; }; @@ -1064,6 +1077,44 @@ D5FD4ECA2A9532960097BEE8 /* DatabaseManager+Async.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "DatabaseManager+Async.swift"; sourceTree = ""; }; /* End PBXFileReference section */ +/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ + A83FE3D22EC9229A005ACE9A /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + EmotionalDamage.swift, + ); + target = A83FE3C22EC9217F005ACE9A /* EmotionalDamage */; + }; + A83FE3D32EC922F8005ACE9A /* PBXFileSystemSynchronizedBuildFileExceptionSet */ = { + isa = PBXFileSystemSynchronizedBuildFileExceptionSet; + membershipExceptions = ( + .github/CODEOWNERS, + .github/workflows/build.yml, + .gitignore, + build.rs, + Cargo.toml, + cbindgen.toml, + keys/client_privatekey, + keys/client_publickey, + keys/emp.conf, + keys/README.md, + keys/server_privatekey, + keys/server_publickey_client, + "libem_proxy-ios.a", + LICENSE, + README.md, + src/lib.rs, + src/run.rs, + ); + target = BFD247692284B9A500981D42 /* SideStore */; + }; +/* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + A83FE3A22EC91F35005ACE9A /* em_proxy */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (A83FE3D32EC922F8005ACE9A /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = em_proxy; sourceTree = ""; }; + A83FE3A52EC91F35005ACE9A /* EmotionalDamage */ = {isa = PBXFileSystemSynchronizedRootGroup; exceptions = (A83FE3D22EC9229A005ACE9A /* PBXFileSystemSynchronizedBuildFileExceptionSet */, ); explicitFileTypes = {}; explicitFolders = (); path = EmotionalDamage; sourceTree = ""; }; +/* End PBXFileSystemSynchronizedRootGroup section */ + /* Begin PBXFrameworksBuildPhase section */ 191E5FA8290A5D92001A3B7C /* Frameworks */ = { isa = PBXFrameworksBuildPhase; @@ -1087,6 +1138,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A83FE3C82EC9217F005ACE9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A83FE3CF2EC9219C005ACE9A /* libem_proxy_static.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; A8E2DB1E2D684CBD009E5D31 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -1129,6 +1188,7 @@ buildActionMask = 2147483647; files = ( A8C6D5172D1EE95B00DF01F1 /* OpenSSL.xcframework in Frameworks */, + A83FE3D42EC92495005ACE9A /* libEmotionalDamage.a in Frameworks */, A83FE36C2EC904FD005ACE9A /* AppCenterCrashes in Frameworks */, A8A543302D04F14400D72399 /* libfragmentzip.a in Frameworks */, A8B646012D70C23E00125819 /* MarkdownKit in Frameworks */, @@ -1458,6 +1518,9 @@ 0E214ADD2E6DD75200B3D63D /* SideStoreDebug.entitlements */, A8B645F82D70C0DD00125819 /* Views */, A8E2DB352D6850A9009E5D31 /* Tests */, + A83FE3A22EC91F35005ACE9A /* em_proxy */, + A83FE3A32EC91F35005ACE9A /* em_proxy.xcodeproj */, + A83FE3A52EC91F35005ACE9A /* EmotionalDamage */, A8F66C5C2D04D433009689E6 /* minimuxer */, A8F66C602D04D464009689E6 /* minimuxer.xcodeproj */, B343F886295F7F9B002B1159 /* libfragmentzip.xcodeproj */, @@ -2016,6 +2079,7 @@ D586D39828EF58B0000E101F /* AltTests.xctest */, A8E2DB212D684CBD009E5D31 /* UITests.xctest */, A81A8CC52D68BA610086C96F /* DataStructureTests.xctest */, + A83FE3CD2EC9217F005ACE9A /* libEmotionalDamage.a */, ); name = Products; sourceTree = ""; @@ -2058,6 +2122,8 @@ BFD247852284BB3300981D42 /* Frameworks */ = { isa = PBXGroup; children = ( + A83FE3D02EC921B2005ACE9A /* libresolv.tbd */, + A83FE3CE2EC9219C005ACE9A /* libem_proxy_static.a */, 0ED4AEC22E6DD9FC0039E2C0 /* KeychainAccess.framework */, 0ED4AEBC2E6DD9CE0039E2C0 /* KeychainAccess.framework */, A859ED5B2D1EE80D003DCC58 /* OpenSSL.xcframework */, @@ -2487,6 +2553,22 @@ productReference = A81A8CC52D68BA610086C96F /* DataStructureTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + A83FE3C22EC9217F005ACE9A /* EmotionalDamage */ = { + isa = PBXNativeTarget; + buildConfigurationList = A83FE3CA2EC9217F005ACE9A /* Build configuration list for PBXNativeTarget "EmotionalDamage" */; + buildPhases = ( + A83FE3C52EC9217F005ACE9A /* Sources */, + A83FE3C82EC9217F005ACE9A /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = EmotionalDamage; + productName = minimuxer; + productReference = A83FE3CD2EC9217F005ACE9A /* libEmotionalDamage.a */; + productType = "com.apple.product-type.library.static"; + }; A8E2DB202D684CBD009E5D31 /* UITests */ = { isa = PBXNativeTarget; buildConfigurationList = A8E2DB292D684CBD009E5D31 /* Build configuration list for PBXNativeTarget "UITests" */; @@ -2601,6 +2683,11 @@ 191E5FB3290A5D9B001A3B7C /* PBXTargetDependency */, BF66EE842501AE50007EE018 /* PBXTargetDependency */, BF989176250AABF4002ACF50 /* PBXTargetDependency */, + A83FE3D62EC92495005ACE9A /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + A83FE3A22EC91F35005ACE9A /* em_proxy */, + A83FE3A52EC91F35005ACE9A /* EmotionalDamage */, ); name = SideStore; productName = AltStore; @@ -2695,6 +2782,7 @@ 191E5FAA290A5D92001A3B7C /* minimuxer */, A8E2DB202D684CBD009E5D31 /* UITests */, A81A8CC42D68BA610086C96F /* DataStructureTests */, + A83FE3C22EC9217F005ACE9A /* EmotionalDamage */, ); }; /* End PBXProject section */ @@ -2825,7 +2913,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "bash ./SideStore/fetch-prebuilt.sh minimuxer\n"; + shellScript = "bash ./SideStore/fetch-prebuilt.sh minimuxer em_proxy\n"; }; A8E00D3F2D0C9C6D000DD2C7 /* Run Script */ = { isa = PBXShellScriptBuildPhase; @@ -2870,6 +2958,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + A83FE3C52EC9217F005ACE9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; A8E2DB1D2D684CBD009E5D31 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -3275,6 +3370,11 @@ name = "minimuxer-staticlib"; targetProxy = A809F6A02D04D7CB00F0F0F3 /* PBXContainerItemProxy */; }; + A83FE3D62EC92495005ACE9A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A83FE3C22EC9217F005ACE9A /* EmotionalDamage */; + targetProxy = A83FE3D52EC92495005ACE9A /* PBXContainerItemProxy */; + }; A8E2DB282D684CBD009E5D31 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = BFD247692284B9A500981D42 /* SideStore */; @@ -3436,6 +3536,64 @@ }; name = Release; }; + A83FE3CB2EC9217F005ACE9A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = "$(inherited)"; + CODE_SIGN_STYLE = Automatic; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_WARN_DUPLICATE_LIBRARIES = YES; + LD_WARN_UNUSED_DYLIBS = YES; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/SideStore/em_proxy", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; + OTHER_LDFLAGS = ( + "-ObjC", + "$(inherited)", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OBJC_BRIDGING_HEADER = SideStore/em_proxy/em_proxy.h; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + A83FE3CC2EC9217F005ACE9A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = "$(inherited)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_WARN_DUPLICATE_LIBRARIES = YES; + LD_WARN_UNUSED_DYLIBS = YES; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/SideStore/em_proxy", + ); + MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)"; + OTHER_LDFLAGS = ( + "-ObjC", + "$(inherited)", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OBJC_BRIDGING_HEADER = SideStore/em_proxy/em_proxy.h; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; A8E2DB2A2D684CBD009E5D31 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = A8E2DB2C2D684D39009E5D31 /* UITests.xcconfig */; @@ -3942,6 +4100,7 @@ "$(inherited)", "$(PROJECT_DIR)/SideStore/libfragmentzip", "$(PROJECT_DIR)/Dependencies/libcurl", + "$(PROJECT_DIR)/SideStore/em_proxy", ); LLVM_LTO = YES_THIN; MARKETING_VERSION = "$(inherited)"; @@ -3988,6 +4147,7 @@ "$(inherited)", "$(PROJECT_DIR)/SideStore/libfragmentzip", "$(PROJECT_DIR)/Dependencies/libcurl", + "$(PROJECT_DIR)/SideStore/em_proxy", ); LLVM_LTO = YES_THIN; MARKETING_VERSION = "$(inherited)"; @@ -4027,6 +4187,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + A83FE3CA2EC9217F005ACE9A /* Build configuration list for PBXNativeTarget "EmotionalDamage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A83FE3CB2EC9217F005ACE9A /* Debug */, + A83FE3CC2EC9217F005ACE9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; A8E2DB292D684CBD009E5D31 /* Build configuration list for PBXNativeTarget "UITests" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/SideStore/EmotionalDamage/EmotionalDamage.swift b/SideStore/EmotionalDamage/EmotionalDamage.swift new file mode 100644 index 00000000..163bdfc9 --- /dev/null +++ b/SideStore/EmotionalDamage/EmotionalDamage.swift @@ -0,0 +1,18 @@ +// +// EmotionalDamage.swift +// EmotionalDamage +// +// Created by Jackson Coxson on 10/26/22. +// + +import Foundation + +public func start_em_proxy(bind_addr: String) { + let host = NSString(string: bind_addr) + let host_pointer = UnsafeMutablePointer(mutating: host.utf8String) + let _ = start_emotional_damage(host_pointer) +} + +public func stop_em_proxy() { + stop_emotional_damage() +} diff --git a/SideStore/em_proxy b/SideStore/em_proxy new file mode 160000 index 00000000..24fdd245 --- /dev/null +++ b/SideStore/em_proxy @@ -0,0 +1 @@ +Subproject commit 24fdd245e62d8b2b2df1ac162770fbf95c5cd5bb diff --git a/SideStore/em_proxy.xcodeproj/project.pbxproj b/SideStore/em_proxy.xcodeproj/project.pbxproj new file mode 100644 index 00000000..2f4ab9d7 --- /dev/null +++ b/SideStore/em_proxy.xcodeproj/project.pbxproj @@ -0,0 +1,343 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 53; + objects = { + +/* Begin PBXBuildFile section */ + 9987603429A4555300818586 /* em_proxy.h in Sources */ = {isa = PBXBuildFile; fileRef = 9999259129A45319005CF020 /* em_proxy.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXBuildRule section */ + CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */ = { + isa = PBXBuildRule; + compilerSpec = com.apple.compilers.proxy.script; + filePatterns = "*/em_proxy.h"; + fileType = pattern.proxy; + inputFiles = ( + ); + isEditable = 0; + name = "Cargo project build"; + outputFiles = ( + "$(OBJECT_FILE_DIR)/$(CARGO_XCODE_TARGET_ARCH)-$(EXECUTABLE_NAME)", + ); + script = "# generated with cargo-xcode 1.5.0\n# modified to use prebuilt binaries\n\nset -eu;\n\nBUILT_SRC=\"./em_proxy/$LIB_FILE_NAME.a\"\necho Generating Static lib: $BUILT_SRC\nln -f -- \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\" || cp \"$BUILT_SRC\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\necho \"$BUILT_SRC -> $TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n\n# xcode generates dep file, but for its own path, so append our rename to it\n#DEP_FILE_SRC=\"minimuxer/target/${CARGO_XCODE_TARGET_TRIPLE}/release/${CARGO_XCODE_CARGO_DEP_FILE_NAME}\"\n#if [ -f \"$DEP_FILE_SRC\" ]; then\n# DEP_FILE_DST=\"${DERIVED_FILE_DIR}/${CARGO_XCODE_TARGET_ARCH}-${EXECUTABLE_NAME}.d\"\n# cp -f \"$DEP_FILE_SRC\" \"$DEP_FILE_DST\"\n# echo >> \"$DEP_FILE_DST\" \"$SCRIPT_OUTPUT_FILE_0: $BUILT_SRC\"\n#fi\n\n# lipo script needs to know all the platform-specific files that have been built\n# archs is in the file name, so that paths don't stay around after archs change\n# must match input for LipoScript\n#FILE_LIST=\"${DERIVED_FILE_DIR}/${ARCHS}-${EXECUTABLE_NAME}.xcfilelist\"\n#touch \"$FILE_LIST\"\n#if ! egrep -q \"$SCRIPT_OUTPUT_FILE_0\" \"$FILE_LIST\" ; then\n# echo >> \"$FILE_LIST\" \"$SCRIPT_OUTPUT_FILE_0\"\n#fi\n"; + }; +/* End PBXBuildRule section */ + +/* Begin PBXFileReference section */ + 9999259129A45319005CF020 /* em_proxy.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = em_proxy.h; path = em_proxy/em_proxy.h; sourceTree = ""; }; + ADDEDBA66A6E1 /* libresolv.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libresolv.tbd; path = usr/lib/libresolv.tbd; sourceTree = SDKROOT; }; + CA60058A9FBE4D17AF51A7D5 /* run */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = run; sourceTree = BUILT_PRODUCTS_DIR; }; + CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libem_proxy_static.a; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + ADDEDBA66A6E2 /* Required for static linking */ = { + isa = PBXGroup; + children = ( + ADDEDBA66A6E1 /* libresolv.tbd */, + ); + name = "Required for static linking"; + sourceTree = ""; + }; + CA6094FFF69222869D176AE5 /* Products */ = { + isa = PBXGroup; + children = ( + CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */, + CA60058A9FBE4D17AF51A7D5 /* run */, + ); + name = Products; + sourceTree = ""; + }; + CA6094FFF69298AF0B5890DB /* Frameworks */ = { + isa = PBXGroup; + children = ( + ADDEDBA66A6E2 /* Required for static linking */, + ); + name = Frameworks; + sourceTree = ""; + }; + CA6094FFF692D65BC3C892A8 = { + isa = PBXGroup; + children = ( + 9999259129A45319005CF020 /* em_proxy.h */, + CA6094FFF69222869D176AE5 /* Products */, + CA6094FFF69298AF0B5890DB /* Frameworks */, + ); + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + CA60058A9FBE37FC563E4BCC /* run-bin */ = { + isa = PBXNativeTarget; + buildConfigurationList = CA603DD75FB437FC563E4BCC /* Build configuration list for PBXNativeTarget "run-bin" */; + buildPhases = ( + CA60445C303637FC563E4BCC /* Sources */, + CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */, + ); + buildRules = ( + CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */, + ); + dependencies = ( + ); + name = "run-bin"; + productName = run; + productReference = CA60058A9FBE4D17AF51A7D5 /* run */; + productType = "com.apple.product-type.tool"; + }; + CA60C44C93D7A30E3695DD59 /* em_proxy-staticlib */ = { + isa = PBXNativeTarget; + buildConfigurationList = CA603DD75FB4A30E3695DD59 /* Build configuration list for PBXNativeTarget "em_proxy-staticlib" */; + buildPhases = ( + 9987603529A4610700818586 /* ShellScript */, + CA60445C3036A30E3695DD59 /* Sources */, + CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */, + ); + buildRules = ( + CA6094FFF692AC6C1400ACA8 /* PBXBuildRule */, + ); + dependencies = ( + ); + name = "em_proxy-staticlib"; + productName = libem_proxy_static.a; + productReference = CA60C44C93D7916DE57E6EBD /* libem_proxy_static.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + CA6094FFF692E04653AD465F /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1300; + TargetAttributes = { + CA60058A9FBE37FC563E4BCC = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + CA60C44C93D7A30E3695DD59 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = CA6094FFF69280E02D6C7F57 /* Build configuration list for PBXProject "em_proxy" */; + compatibilityVersion = "Xcode 11.4"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CA6094FFF692D65BC3C892A8; + productRefGroup = CA6094FFF69222869D176AE5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + CA60C44C93D7A30E3695DD59 /* em_proxy-staticlib */, + CA60058A9FBE37FC563E4BCC /* run-bin */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + 9987603529A4610700818586 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ./em_proxy/em_proxy.h, + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "bash ./fetch-prebuilt.sh em_proxy\n"; + }; + CA6094FFF692AF6EBB7F357C /* Universal Binary lipo */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "$(DERIVED_FILE_DIR)/$(ARCHS)-$(EXECUTABLE_NAME).xcfilelist", + ); + name = "Universal Binary lipo"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# generated with cargo-xcode 1.5.0\n\n#set -eux; cat \"$DERIVED_FILE_DIR/$ARCHS-$EXECUTABLE_NAME.xcfilelist\" | tr '\\n' '\\0' | xargs -0 lipo -create -output \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#if [ ${LD_DYLIB_INSTALL_NAME:+1} ]; then\n# install_name_tool -id \"$LD_DYLIB_INSTALL_NAME\" \"$TARGET_BUILD_DIR/$EXECUTABLE_PATH\"\n#fi\n"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + CA60445C303637FC563E4BCC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CA60445C3036A30E3695DD59 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9987603429A4555300818586 /* em_proxy.h in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + CA604DFE779B37FC563E4BCC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CARGO_XCODE_CARGO_DEP_FILE_NAME = run.d; + CARGO_XCODE_CARGO_FILE_NAME = run; + PRODUCT_NAME = run; + SUPPORTED_PLATFORMS = macosx; + }; + name = Release; + }; + CA604DFE779BA30E3695DD59 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CARGO_XCODE_CARGO_DEP_FILE_NAME = libem_proxy.d; + CARGO_XCODE_CARGO_FILE_NAME = libem_proxy.a; + INSTALL_GROUP = ""; + INSTALL_MODE_FLAG = ""; + INSTALL_OWNER = ""; + LIB_FILE_NAME = ""; + "LIB_FILE_NAME[sdk=iphoneos*]" = "libem_proxy-ios"; + "LIB_FILE_NAME[sdk=iphonesimulator*]" = "libem_proxy-sim"; + PRODUCT_NAME = em_proxy_static; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos"; + }; + name = Release; + }; + CA609A517351228BE02872F8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; + CARGO_XCODE_BUILD_MODE = debug; + CARGO_XCODE_FEATURES = ""; + "CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64; + "CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686; + "CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64; + "CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos; + "CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos; + "CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios; + "CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim"; + "CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios; + "CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin; + CURRENT_PROJECT_VERSION = 0.1; + MARKETING_VERSION = 0.1.0; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = em_proxy; + SDKROOT = macosx; + SUPPORTS_MACCATALYST = YES; + }; + name = Debug; + }; + CA609A5173513CC16B37690B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CARGO_TARGET_DIR = "$(PROJECT_TEMP_DIR)/cargo_target"; + CARGO_XCODE_BUILD_MODE = release; + CARGO_XCODE_FEATURES = ""; + "CARGO_XCODE_TARGET_ARCH[arch=arm64*]" = aarch64; + "CARGO_XCODE_TARGET_ARCH[arch=i386]" = i686; + "CARGO_XCODE_TARGET_ARCH[arch=x86_64*]" = x86_64; + "CARGO_XCODE_TARGET_OS[sdk=appletvos*]" = tvos; + "CARGO_XCODE_TARGET_OS[sdk=appletvsimulator*]" = tvos; + "CARGO_XCODE_TARGET_OS[sdk=iphoneos*]" = ios; + "CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*]" = "ios-sim"; + "CARGO_XCODE_TARGET_OS[sdk=iphonesimulator*][arch=x86_64*]" = ios; + "CARGO_XCODE_TARGET_OS[sdk=macosx*]" = darwin; + CURRENT_PROJECT_VERSION = 0.1; + MARKETING_VERSION = 0.1.0; + PRODUCT_NAME = em_proxy; + SDKROOT = macosx; + SUPPORTS_MACCATALYST = YES; + }; + name = Release; + }; + CA60DE07A83F37FC563E4BCC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CARGO_XCODE_CARGO_DEP_FILE_NAME = run.d; + CARGO_XCODE_CARGO_FILE_NAME = run; + PRODUCT_NAME = run; + SUPPORTED_PLATFORMS = macosx; + }; + name = Debug; + }; + CA60DE07A83FA30E3695DD59 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CARGO_XCODE_CARGO_DEP_FILE_NAME = libem_proxy.d; + CARGO_XCODE_CARGO_FILE_NAME = libem_proxy.a; + INSTALL_GROUP = ""; + INSTALL_MODE_FLAG = ""; + INSTALL_OWNER = ""; + LIB_FILE_NAME = ""; + "LIB_FILE_NAME[sdk=iphoneos*]" = "libem_proxy-ios"; + "LIB_FILE_NAME[sdk=iphonesimulator*]" = "libem_proxy-sim"; + PRODUCT_NAME = em_proxy_static; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos appletvsimulator appletvos"; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + CA603DD75FB437FC563E4BCC /* Build configuration list for PBXNativeTarget "run-bin" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CA604DFE779B37FC563E4BCC /* Release */, + CA60DE07A83F37FC563E4BCC /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CA603DD75FB4A30E3695DD59 /* Build configuration list for PBXNativeTarget "em_proxy-staticlib" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CA604DFE779BA30E3695DD59 /* Release */, + CA60DE07A83FA30E3695DD59 /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CA6094FFF69280E02D6C7F57 /* Build configuration list for PBXProject "em_proxy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + CA609A5173513CC16B37690B /* Release */, + CA609A517351228BE02872F8 /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = CA6094FFF692E04653AD465F /* Project object */; +} diff --git a/SideStore/em_proxy.xcodeproj/xcshareddata/xcschemes/em_proxy.xcscheme b/SideStore/em_proxy.xcodeproj/xcshareddata/xcschemes/em_proxy.xcscheme new file mode 100644 index 00000000..b8b554d1 --- /dev/null +++ b/SideStore/em_proxy.xcodeproj/xcshareddata/xcschemes/em_proxy.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SideStore/minimuxer.xcodeproj/xcshareddata/xcschemes/minimuxer.xcscheme b/SideStore/minimuxer.xcodeproj/xcshareddata/xcschemes/minimuxer.xcscheme new file mode 100644 index 00000000..04fe0e8f --- /dev/null +++ b/SideStore/minimuxer.xcodeproj/xcshareddata/xcschemes/minimuxer.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + +